P4 to Git Change 1562960 by skudchad@skudchad_test2_win_opencl on 2018/06/01 14:46:26
SWDEV-145570 - [HIP] - Rename SVManager to be more genric. The same functionality can be used for HIP without needing additonal map ReviewBoardURL = http://ocltc.amd.com/reviews/r/15054/diff/ Affected files ... ... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_memobj.cpp#83 edit ... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_svm.cpp#27 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/device.cpp#220 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#306 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#591 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuvirtual.cpp#419 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#92 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#104 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#87 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocvirtual.cpp#53 edit ... //depot/stg/opencl/drivers/opencl/runtime/platform/kernel.cpp#29 edit
Этот коммит содержится в:
@@ -77,7 +77,7 @@ void KernelParameters::set(size_t index, size_t size, const void* value, bool sv
|
||||
if (svmBound) {
|
||||
desc.info_.rawPointer_ = true;
|
||||
LP64_SWITCH(uint32_value, uint64_value) = *(LP64_SWITCH(uint32_t*, uint64_t*))value;
|
||||
memoryObjects_[desc.info_.arrayIndex_] = amd::SvmManager::FindSvmBuffer(
|
||||
memoryObjects_[desc.info_.arrayIndex_] = amd::MemObjMap::FindMemObj(
|
||||
*reinterpret_cast<const void* const*>(value));
|
||||
} else if ((value == NULL) || (static_cast<const cl_mem*>(value) == NULL)) {
|
||||
desc.info_.rawPointer_ = false;
|
||||
|
||||
Ссылка в новой задаче
Block a user