P4 to Git Change 1398063 by lmoriche@lmoriche_opencl_dev2 on 2017/04/13 12:12:33

SWDEV-102733 - [OCL-LC-ROCm] Cmake build Write CMakeLists.txt to enable building with and without the DK environment
	- Make it possible to build with libstdc++

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_svm.cpp#19 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/loaders/elf/utils/libelf/memfile.cpp#3 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/appprofile.cpp#16 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/roccompiler.cpp#31 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.hpp#19 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.cpp#63 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.hpp#22 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/memory.cpp#126 edit
... //depot/stg/opencl/drivers/opencl/runtime/thread/semaphore.cpp#9 edit
This commit is contained in:
foreman
2017-04-13 12:17:47 -04:00
bovenliggende 0806fe4265
commit 72aa0e70ee
+1 -1
Bestand weergeven
@@ -137,7 +137,7 @@ RUNTIME_ENTRY_RET_NOERRCODE(void*, clSVMAlloc, (
bool sizePass = false;
cl_device_svm_capabilities combinedSvmCapabilities = 0;
const cl_uint hostAddressBits = LP64_SWITCH(32, 64);
cl_uint minContextAlignment = UINT_MAX;
cl_uint minContextAlignment = std::numeric_limits<uint>::max();
std::vector<amd::Device*>::const_iterator it;
for (it = devices.begin(); it != devices.end(); ++it) {
cl_device_svm_capabilities svmCapabilities =