P4 to Git Change 2021608 by michliao@hliao-dev-00-hip.rocm-workspace on 2019/10/30 01:13:58
P4 to Git Change 2021608 by michliao@hliao-dev-00-hip.rocm-workspace on 2019/10/30 01:13:58

	SWDEV-145570 - [HIP] Fix occupancy API prototype.

	- They need to be C API, i.e. extern "C".
	- Follow the current API and use `uint32_t` instead of `int`.
	  + TODO: We need to revert them back once that APIs are changed to be
	    compatible with CUDA.

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_platform.cpp#46 edit

ROCm-Developer-Tools/HIP,ROCm-Developer-Tools/HIP,ROCm-Developer-Tools/HIP,ROCm-Developer-Tools/HIP,ROCm-Developer-Tools/HIP