P4 to Git Change 1101351 by skudchad@skudchad_test_win_opencl2 on 2014/11/28 17:32:17
EPR #403782 - IOMMU2/SVM
- For finegrainsystem, the app can pass a malloced pointer directly to the kernel. Copy pointer directly to the aqlArgBuf without exiting.
ReviewBoardURL = http://ocltc.amd.com/reviews/r/6378/diff/
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpukernel.cpp#269 edit
[ROCm/clr commit: 2ba0f2a112]
Этот коммит содержится в:
@@ -3868,7 +3868,9 @@ HSAILKernel::loadArguments(
|
||||
gpuMem->wait(gpu, WaitOnBusyEngine);
|
||||
memList.push_back(gpuMem);
|
||||
}
|
||||
else {
|
||||
// If finegrainsystem is present then the pointer can be malloced by the app and
|
||||
// passed to kernel directly. If so copy the pointer location to aqlArgBuf
|
||||
else if ((dev().info().svmCapabilities_ & CL_DEVICE_SVM_FINE_GRAIN_SYSTEM) == 0) {
|
||||
return NULL;
|
||||
}
|
||||
break;
|
||||
|
||||
Ссылка в новой задаче
Block a user