Home
last modified time | relevance | path

Searched refs:CL_SUCCESS (Results 1 – 25 of 26) sorted by relevance

12

/external/libxcam/modules/ocl/
Dcl_context.cpp119 cl_int error_code = CL_SUCCESS; in flush()
129 error_code == CL_SUCCESS, in flush()
140 cl_int error_code = CL_SUCCESS; in finish()
150 error_code == CL_SUCCESS, in finish()
175 if (err_code != CL_SUCCESS) in init_context()
227 cl_int error_code = CL_SUCCESS; in execute_kernel()
265 error_code == CL_SUCCESS, in execute_kernel()
281 return (error_code == CL_SUCCESS ? XCAM_RETURN_NO_ERROR : XCAM_RETURN_ERROR_CL); in set_event_callback()
299 if (err_code != CL_SUCCESS) { in create_cmd_queue()
330 cl_int error_code = CL_SUCCESS; in generate_kernel_id()
[all …]
Dcl_event.cpp43 cl_int error_code = CL_SUCCESS; in wait()
55 error_code == CL_SUCCESS, in wait()
67 cl_int error_code = CL_SUCCESS; in get_cl_event_info()
79 error_code == CL_SUCCESS, in get_cl_event_info()
92 cl_int error_code = CL_SUCCESS; in cl_events_wait()
113 error_code == CL_SUCCESS, in cl_events_wait()
Dcl_device.cpp107 if (clGetPlatformIDs (1, &platform_id, &num_platform) != CL_SUCCESS) in init()
114 if (clGetDeviceIDs (platform_id, CL_DEVICE_TYPE_GPU, 1, &device_id, &num_device) != CL_SUCCESS) in init()
142 if (clGetPlatformInfo(platform_id, CL_PLATFORM_NAME, 0, 0, &sz) != CL_SUCCESS) in init()
152 if (clGetPlatformInfo(platform_id, CL_PLATFORM_NAME, sz, _platform_name, 0) != CL_SUCCESS) in init()
172 if (clGetDeviceInfo (device_id, name, sizeof (val), &(val), NULL) != CL_SUCCESS) { \ in query_device_info()
Dcl_memory.cpp128 cl_int error_code = CL_SUCCESS; in get_cl_mem_info()
135 error_code == CL_SUCCESS, in get_cl_mem_info()
283 cl_int error_code = CL_SUCCESS; in get_cl_image_info()
290 error_code == CL_SUCCESS, in get_cl_image_info()
Dcl_kernel.cpp365 if (error_code != CL_SUCCESS) { in set_argument()
/external/libxcam/modules/ocl/intel/
Dcl_intel_context.cpp42 cl_int errcode = CL_SUCCESS; in create_va_buffer()
53 errcode == CL_SUCCESS, in create_va_buffer()
63 cl_int errcode = CL_SUCCESS; in import_dma_buffer()
74 errcode == CL_SUCCESS, in import_dma_buffer()
85 cl_int errcode = CL_SUCCESS; in create_va_image()
96 errcode == CL_SUCCESS, in create_va_image()
106 cl_int errcode = CL_SUCCESS; in import_dma_image()
117 errcode == CL_SUCCESS, in import_dma_image()
127 cl_int errcode = CL_SUCCESS; in export_mem_fd()
138 errcode == CL_SUCCESS, in export_mem_fd()
/external/mesa3d/src/gallium/state_trackers/clover/api/
Devent.cpp32 ret_error(r_errcode, CL_SUCCESS); in clCreateUserEvent()
55 return CL_SUCCESS; in clSetUserEventStatus()
80 return CL_SUCCESS; in clWaitForEvents()
117 return CL_SUCCESS; in clGetEventInfo()
141 return CL_SUCCESS; in clSetEventCallback()
150 return CL_SUCCESS; in clRetainEvent()
161 return CL_SUCCESS; in clReleaseEvent()
176 return CL_SUCCESS; in clEnqueueMarker()
199 return CL_SUCCESS; in clEnqueueMarkerWithWaitList()
211 return CL_SUCCESS; in clEnqueueBarrier()
[all …]
Dqueue.cpp42 ret_error(r_errcode, CL_SUCCESS); in clCreateCommandQueue()
53 return CL_SUCCESS; in clRetainCommandQueue()
68 return CL_SUCCESS; in clReleaseCommandQueue()
101 return CL_SUCCESS; in clGetCommandQueueInfo()
110 return CL_SUCCESS; in clFlush()
Dprogram.cpp68 ret_error(r_errcode, CL_SUCCESS); in clCreateProgramWithSource()
103 return { CL_SUCCESS, module::deserialize(s) }; in clCreateProgramWithBinary()
123 ret_error(r_errcode, CL_SUCCESS); in clCreateProgramWithBinary()
156 return CL_SUCCESS; in clRetainProgram()
167 return CL_SUCCESS; in clReleaseProgram()
191 return CL_SUCCESS; in clBuildProgram()
231 return CL_SUCCESS; in clCompileProgram()
291 ret_error(r_errcode, CL_SUCCESS); in clLinkProgram()
310 return CL_SUCCESS; in clUnloadCompiler()
315 return CL_SUCCESS; in clUnloadPlatformCompiler()
[all …]
Dkernel.cpp38 ret_error(r_errcode, CL_SUCCESS); in clCreateKernel()
71 return CL_SUCCESS; in clCreateKernelsInProgram()
80 return CL_SUCCESS; in clRetainKernel()
91 return CL_SUCCESS; in clReleaseKernel()
101 return CL_SUCCESS; in clSetKernelArg()
141 return CL_SUCCESS; in clGetKernelInfo()
183 return CL_SUCCESS; in clGetKernelWorkGroupInfo()
299 return CL_SUCCESS; in clEnqueueNDRangeKernel()
322 return CL_SUCCESS; in clEnqueueTask()
Dsampler.cpp37 ret_error(r_errcode, CL_SUCCESS); in clCreateSampler()
48 return CL_SUCCESS; in clRetainSampler()
59 return CL_SUCCESS; in clReleaseSampler()
96 return CL_SUCCESS; in clGetSamplerInfo()
Dmemory.cpp88 ret_error(r_errcode, CL_SUCCESS); in clCreateBuffer()
114 ret_error(r_errcode, CL_SUCCESS); in clCreateSubBuffer()
166 ret_error(r_errcode, CL_SUCCESS); in clCreateImage()
260 return CL_SUCCESS; in clGetSupportedImageFormats()
315 return CL_SUCCESS; in clGetMemObjectInfo()
360 return CL_SUCCESS; in clGetImageInfo()
369 return CL_SUCCESS; in clRetainMemObject()
380 return CL_SUCCESS; in clReleaseMemObject()
397 return CL_SUCCESS; in clSetMemObjectDestructorCallback()
Dcontext.cpp53 ret_error(r_errcode, CL_SUCCESS); in clCreateContext()
96 return CL_SUCCESS; in clRetainContext()
107 return CL_SUCCESS; in clReleaseContext()
140 return CL_SUCCESS; in clGetContextInfo()
Dtransfer.cpp302 return CL_SUCCESS; in clEnqueueReadBuffer()
335 return CL_SUCCESS; in clEnqueueWriteBuffer()
375 return CL_SUCCESS; in clEnqueueReadBufferRect()
415 return CL_SUCCESS; in clEnqueueWriteBufferRect()
448 return CL_SUCCESS; in clEnqueueCopyBuffer()
486 return CL_SUCCESS; in clEnqueueCopyBufferRect()
523 return CL_SUCCESS; in clEnqueueReadImage()
560 return CL_SUCCESS; in clEnqueueWriteImage()
592 return CL_SUCCESS; in clEnqueueCopyImage()
628 return CL_SUCCESS; in clEnqueueCopyImageToBuffer()
[all …]
Ddevice.cpp60 return CL_SUCCESS; in clGetDeviceIDs()
80 return CL_SUCCESS; in clRetainDevice()
91 return CL_SUCCESS; in clReleaseDevice()
425 return CL_SUCCESS; in clGetDeviceInfo()
Dplatform.cpp45 return CL_SUCCESS; in clGetPlatformIDs()
88 return CL_SUCCESS; in GetPlatformInfo()
Dinterop.cpp45 return clReleaseEvent(event) == CL_SUCCESS; in opencl_dri_event_release()
/external/ImageMagick/MagickCore/
Daccelerate.c360 if (clStatus != CL_SUCCESS) in LaunchHistogramKernel()
372 if (clStatus != CL_SUCCESS) in LaunchHistogramKernel()
539 if (status != CL_SUCCESS) in ComputeAddNoiseImage()
702 if (status != CL_SUCCESS) in ComputeBlurImage()
737 if (status != CL_SUCCESS) in ComputeBlurImage()
865 if (status != CL_SUCCESS) in ComputeContrastImage()
1063 if (clStatus != CL_SUCCESS) in ComputeContrastStretchImage()
1085 if (clStatus != CL_SUCCESS) in ComputeContrastStretchImage()
1106 if (clStatus != CL_SUCCESS) in ComputeContrastStretchImage()
1116 if (clStatus != CL_SUCCESS) in ComputeContrastStretchImage()
[all …]
Dopencl.c545 if (status == CL_SUCCESS) in AcquireMagickCLCacheInfo()
1269 if (status != CL_SUCCESS) in CacheOpenCLKernel()
1280 if (status == CL_SUCCESS) in CacheOpenCLKernel()
1311 return((status != CL_SUCCESS) || (binaryStatus != CL_SUCCESS) ? MagickFalse : in LoadCachedOpenCLKernel()
1385 if (status != CL_SUCCESS) in CompileOpenCLKernel()
1391 if (status != CL_SUCCESS) in CompileOpenCLKernel()
1647 if (openCL_library->clRetainEvent(event) != CL_SUCCESS) in RegisterCacheEvent()
1706 if ((status != CL_SUCCESS) && (event_count > 0)) in EnqueueOpenCLKernel()
1713 if (status != CL_SUCCESS) in EnqueueOpenCLKernel()
2227 MagickPathExtent,version,NULL) != CL_SUCCESS) in GetOpenCLDeviceCount()
[all …]
/external/mesa3d/include/CL/
Dcl.hpp706 if (err != CL_SUCCESS) { in get()
712 if (err != CL_SUCCESS) { in get()
717 return CL_SUCCESS; in get()
729 if (err != CL_SUCCESS) { in get()
733 return CL_SUCCESS; in get()
745 if (err != CL_SUCCESS) { in get()
751 if (err != CL_SUCCESS) { in get()
756 return CL_SUCCESS; in get()
768 if (err != CL_SUCCESS) { \
1142 if (err != CL_SUCCESS) { in errHandler()
[all …]
/external/skia/src/compute/common/cl/
Dassert_cl.c43 CL_VAL_TO_STRING(CL_SUCCESS); in cl_get_error_string()
127 if (code != CL_SUCCESS) in assert_cl()
Dfind_cl.c204 return CL_SUCCESS; in clFindIdsByName()
/external/skqp/src/compute/common/cl/
Dassert_cl.c43 CL_VAL_TO_STRING(CL_SUCCESS); in cl_get_error_string()
127 if (code != CL_SUCCESS) in assert_cl()
Dfind_cl.c204 return CL_SUCCESS; in clFindIdsByName()
/external/skia/tools/
Dhello-opencl.cpp18 if (rc != CL_SUCCESS) { in assert_cl()

12