P4 to Git Change 1197728 by xcui@merged_opencl_jxcwin on 2015/10/07 18:15:58

SWDEV-59579 - using existing function to simplify the code.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpukernel.cpp#301 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuvirtual.cpp#385 edit
Este commit está contenido en:
foreman
2015-10-07 19:24:44 -04:00
padre 66a50cca4a
commit bc8a28c577
Se han modificado 2 ficheros con 2 adiciones y 2 borrados
+1 -1
Ver fichero
@@ -3756,7 +3756,7 @@ HSAILKernel::loadArguments(
}
// 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) {
else if (dev().isFineGrainedSystem()) {
return NULL;
}
break;