7f0373f2e3
SWDEV-196326 - [hipclang-vdi-rocm]: [FBA-80]: Runtime error when all GPUs are hidden by ROCR_VISIBLE_DEVICES - Adjusted hipGetDeviceCount to return "hipErrorNoDevice". - This was done to match the same behaviour as HIP-HCC, and API spec for when no devices are found. Rather then return "count = 0" as it did. ReviewBoardURL = http://ocltc.amd.com/reviews/r/17789/diff/ Affected files ... ... //depot/stg/opencl/drivers/opencl/api/hip/hip_device.cpp#22 edit