P4 to Git Change 1365943 by lmoriche@lmoriche_opencl_dev on 2017/01/25 11:37:20

SWDEV-102726 - [OCL-LC-ROCm] Open source OpenCL Runtime
	- Cleanups: Remove CL_HSA_ENABLED/DISABLED_AMD.

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_context.cpp#52 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_device.cpp#60 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl1.2/CL/cl_ext.h#13 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.0/CL/cl_ext.h#28 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.1/CL/cl_ext.h#6 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/appprofile.cpp#15 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/appprofile.hpp#10 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.cpp#208 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#283 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocappprofile.cpp#4 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#36 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.hpp#14 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.cpp#53 edit
Tá an tiomantas seo le fáil i:
foreman
2017-01-25 11:44:06 -05:00
tuismitheoir dcb7c06585
tiomantas ff3c30e9ce
D'athraigh 5 comhad le 0 breiseanna agus 28 scriosta
-5
Féach ar an gComhad
@@ -186,11 +186,6 @@ RUNTIME_ENTRY_RET(cl_context, clCreateContextFromType, (
return (cl_context) 0;
}
if (device_type & CL_HSA_ENABLED_AMD &&
device_type & CL_HSA_DISABLED_AMD) {
device_type ^= (CL_HSA_ENABLED_AMD | CL_HSA_DISABLED_AMD);
}
// Get the devices of the given type.
cl_uint num_devices;
bool offlineDevices =
-5
Féach ar an gComhad
@@ -200,11 +200,6 @@ RUNTIME_ENTRY(cl_int, clGetDeviceIDs, (
return CL_INVALID_VALUE;
}
if (device_type & CL_HSA_ENABLED_AMD &&
device_type & CL_HSA_DISABLED_AMD) {
device_type ^= (CL_HSA_ENABLED_AMD | CL_HSA_DISABLED_AMD);
}
// Get all available devices
if (!amd::Device::getDeviceIDs(device_type, num_entries,
devices, num_devices, false)) {
@@ -247,12 +247,6 @@ typedef union
// <amd_internal>
/*************
* cl_amd_hsa *
**************/
#define CL_HSA_ENABLED_AMD (1ull << 62)
#define CL_HSA_DISABLED_AMD (1ull << 63)
/***************************
* cl_amd_command_intercept *
***************************/
@@ -210,12 +210,6 @@ typedef union
#define CL_DEVICE_TOPOLOGY_TYPE_PCIE_AMD 1
/*************
* cl_amd_hsa *
**************/
#define CL_HSA_ENABLED_AMD (1ull << 62)
#define CL_HSA_DISABLED_AMD (1ull << 63)
// <amd_internal>
/***************************
* cl_amd_command_intercept *
@@ -209,12 +209,6 @@ typedef union
#define CL_DEVICE_TOPOLOGY_TYPE_PCIE_AMD 1
/*************
* cl_amd_hsa *
**************/
#define CL_HSA_ENABLED_AMD (1ull << 62)
#define CL_HSA_DISABLED_AMD (1ull << 63)
// <amd_internal>
/***************************
* cl_amd_command_intercept *