1384e82e60
SWDEV-216708 - [hipclang-vdi-rocm][FBA-77]hipGetDeviceCount() query should not trigger any queue creation. - KFD queues get created when we call hsa_executable_load_agent_code_object when creating a blitProgram at init. Delay blit creation until when needed - Queue also gets created when we init a xferQueue. Delay that too until when needed. If we want to have a lite init, there are multiple changes needed in both OpenCL and HIP. Thats rather a feature to work on later. ReviewBoardURL = http://ocltc.amd.com/reviews/r/18416/diff/ Affected files ... ... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocblit.cpp#34 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#148 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.hpp#47 edit