From e6bfc8fbeddee0b6acdf670426a37df4490c29ff Mon Sep 17 00:00:00 2001 From: foreman Date: Thu, 24 May 2018 18:12:49 -0400 Subject: [PATCH] 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: 3ac03daffc0ca6e8d9b02d7f8e3b119a485df355] --- projects/clr/opencl/api/opencl/amdocl/cl_execute.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/clr/opencl/api/opencl/amdocl/cl_execute.cpp b/projects/clr/opencl/api/opencl/amdocl/cl_execute.cpp index 0334f109c8..3fa99f154b 100644 --- a/projects/clr/opencl/api/opencl/amdocl/cl_execute.cpp +++ b/projects/clr/opencl/api/opencl/amdocl/cl_execute.cpp @@ -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;