P4 to Git Change 1559366 by gandryey@gera-w8 on 2018/05/24 18:06:45

SWDEV-79445 - OCL generic changes and code clean-up
	- Combine validateMemory() and arguments capture() under a single function. Rename validateMemory() in NDRangeKernelCommand class to captureAndValidate()

	http://ocltc.amd.com/reviews/r/14964/

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_module.cpp#10 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_execute.cpp#26 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/command.cpp#87 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/command.hpp#90 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/kernel.cpp#28 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/kernel.hpp#22 edit


[ROCm/clr commit: 3ac03daffc]
이 커밋은 다음에 포함됨:
foreman
2018-05-24 18:12:49 -04:00
부모 4378898d00
커밋 e6bfc8fbed
+1 -1
파일 보기
@@ -266,7 +266,7 @@ RUNTIME_ENTRY(cl_int, clEnqueueNDRangeKernel,
// ndrange is now owned by command. Do not delete it!
// Make sure we have memory for the command execution
cl_int result = command->validateMemory();
cl_int result = command->captureAndValidate();
if (result != CL_SUCCESS) {
delete command;
return result;