P4 to Git Change 1219652 by asalmanp@asalmanp-opencl-stg on 2015/12/10 14:20:26
SWDEV-82296 - [CQE OCL][2.0][HWSC][16.10]SDK Sample "AtomicCounters" 32/64bit failed with HWSC driver
Disabling the cl_ext_atomic_counters_32 extension since there is no support for this extension on HSAIL and HWS.
ReviewBoardURL = http://ocltc.amd.com/reviews/r/9221/
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#265 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#538 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpusettings.cpp#338 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa_foundation/hsasettings.cpp#11 edit
[ROCm/clr commit: 9b2fc7a77e]
This commit is contained in:
@@ -486,10 +486,6 @@ void NullDevice::fillDeviceInfo(
|
||||
|
||||
info_.extensions_ = getExtensionString();
|
||||
|
||||
if (settings().checkExtension(ClExtAtomicCounters32)) {
|
||||
info_.maxAtomicCounters_ = MaxAtomicCounters;
|
||||
}
|
||||
|
||||
info_.deviceTopology_.pcie.type = CL_DEVICE_TOPOLOGY_TYPE_PCIE_AMD;
|
||||
info_.deviceTopology_.pcie.bus = (calAttr.pciTopologyInformation&(0xFF<<8))>>8;
|
||||
info_.deviceTopology_.pcie.device = (calAttr.pciTopologyInformation&(0x1F<<3))>>3;
|
||||
|
||||
Reference in New Issue
Block a user