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
이 커밋은 다음에 포함됨:
1 부모
66a50cca4a
커밋
bc8a28c577
2 파일이 변경됨
+2
-2
검색과 일치하는 파일 없음
@@ -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;
|
||||
|
||||
@@ -3197,7 +3197,7 @@ VirtualGPU::processMemObjectsHSA(
|
||||
// so we can avoid checks of the aliased objects
|
||||
memoryDependency().newKernel();
|
||||
|
||||
bool deviceSupportFGS = 0 != (dev().info().svmCapabilities_ & CL_DEVICE_SVM_FINE_GRAIN_SYSTEM);
|
||||
bool deviceSupportFGS = 0 != dev().isFineGrainedSystem();
|
||||
bool supportFineGrainedSystem = deviceSupportFGS;
|
||||
FGSStatus status = kernelParams.getSvmSystemPointersSupport();
|
||||
switch (status) {
|
||||
|
||||
새 이슈에서 참조
사용자 차단