fixed IsValid of wrw (#2435)
fixed IsValid of wrw (#2435)

Co-authored-by: Daniel Lowell <cf7a7cb9af49720f14a78556fb61b644ad4c44b2@amd.com>

ROCmSoftwarePlatform/MIOpen,ROCmSoftwarePlatform/MIOpen,ROCmSoftwarePlatform/MIOpen,ROCmSoftwarePlatform/MIOpen,ROCmSoftwarePlatform/MIOpen