/external/angle/src/libANGLE/renderer/cl/ |
D | CLPlatformCL.cpp | 33 if (platform->getDispatch().clGetPlatformInfo(platform, cl::ToCLenum(name), 0u, nullptr, in GetPlatformString() 37 if (platform->getDispatch().clGetPlatformInfo(platform, cl::ToCLenum(name), size, in GetPlatformString() 54 if (mNative == nullptr || mNative->getDispatch().clGetPlatformIDs == nullptr || in createInfo() 55 mNative->getDispatch().clGetPlatformInfo == nullptr || in createInfo() 56 mNative->getDispatch().clGetDeviceIDs == nullptr || in createInfo() 57 mNative->getDispatch().clGetDeviceInfo == nullptr || in createInfo() 58 mNative->getDispatch().clCreateContext == nullptr || in createInfo() 59 mNative->getDispatch().clCreateContextFromType == nullptr || in createInfo() 60 mNative->getDispatch().clRetainContext == nullptr || in createInfo() 61 mNative->getDispatch().clReleaseContext == nullptr || in createInfo() [all …]
|
D | CLContextCL.cpp | 39 if (mNative->getDispatch().clReleaseContext(mNative) != CL_SUCCESS) in ~CLContextCL() 48 errorCode = mNative->getDispatch().clGetContextInfo(mNative, CL_CONTEXT_DEVICES, 0u, nullptr, in getDevices() 53 errorCode = mNative->getDispatch().clGetContextInfo(mNative, CL_CONTEXT_DEVICES, valueSize, in getDevices() 94 nativeQueue = mNative->getDispatch().clCreateCommandQueue( in createCommandQueue() 102 nativeQueue = mNative->getDispatch().clCreateCommandQueueWithProperties( in createCommandQueue() 117 nativeBuffer = mNative->getDispatch().clCreateBuffer(mNative, buffer.getFlags().get(), size, in createBuffer() 122 nativeBuffer = mNative->getDispatch().clCreateBufferWithProperties( in createBuffer() 150 nativeImage = mNative->getDispatch().clCreateImage(mNative, flags.get(), &format, in createImage() 155 nativeImage = mNative->getDispatch().clCreateImageWithProperties( in createImage() 165 nativeImage = mNative->getDispatch().clCreateImage2D( in createImage() [all …]
|
D | CLProgramCL.cpp | 25 if (mNative->getDispatch().clReleaseProgram(mNative) != CL_SUCCESS) in ~CLProgramCL() 35 mNative->getDispatch().clGetProgramInfo(mNative, CL_PROGRAM_SOURCE, 0u, nullptr, &size); in getSource() 41 errorCode = mNative->getDispatch().clGetProgramInfo(mNative, CL_PROGRAM_SOURCE, size, in getSource() 63 return mNative->getDispatch().clBuildProgram(mNative, numDevices, nativeDevicesPtr, options, in build() 92 return mNative->getDispatch().clCompileProgram(mNative, numDevices, nativeDevicesPtr, options, in compile() 102 return mNative->getDispatch().clGetProgramInfo(mNative, cl::ToCLenum(name), valueSize, value, in getInfo() 112 return mNative->getDispatch().clGetProgramBuildInfo( in getBuildInfo() 121 const cl_kernel nativeKernel = mNative->getDispatch().clCreateKernel(mNative, name, &errorCode); in createKernel() 132 return mNative->getDispatch().clCreateKernelsInProgram(mNative, 0u, nullptr, numKernelsRet); in createKernels() 136 const cl_int errorCode = mNative->getDispatch().clCreateKernelsInProgram( in createKernels()
|
D | CLDeviceCL.cpp | 28 if (device->getDispatch().clGetDeviceInfo(device, cl::ToCLenum(name), 0u, nullptr, &size) == in GetDeviceInfo() 33 if (device->getDispatch().clGetDeviceInfo(device, cl::ToCLenum(name), size, vector.data(), in GetDeviceInfo() 47 if (device->getDispatch().clGetDeviceInfo(device, cl::ToCLenum(name), sizeof(T), &value, in GetDeviceInfo() 60 if (!mDevice.isRoot() && mNative->getDispatch().clReleaseDevice(mNative) != CL_SUCCESS) in ~CLDeviceCL() 186 return mNative->getDispatch().clGetDeviceInfo(mNative, cl::ToCLenum(name), sizeof(*value), in getInfoUInt() 192 return mNative->getDispatch().clGetDeviceInfo(mNative, cl::ToCLenum(name), sizeof(*value), in getInfoULong() 198 return mNative->getDispatch().clGetDeviceInfo(mNative, cl::ToCLenum(name), sizeof(*value), in getInfoSizeT() 204 return mNative->getDispatch().clGetDeviceInfo(mNative, cl::ToCLenum(name), 0u, nullptr, value); in getInfoStringLength() 209 return mNative->getDispatch().clGetDeviceInfo(mNative, cl::ToCLenum(name), size, value, in getInfoString() 220 return mNative->getDispatch().clCreateSubDevices(mNative, properties, 0u, nullptr, in createSubDevices() [all …]
|
D | CLEventCL.cpp | 20 if (mNative->getDispatch().clReleaseEvent(mNative) != CL_SUCCESS) in ~CLEventCL() 28 return mNative->getDispatch().clGetEventInfo(mNative, CL_EVENT_COMMAND_EXECUTION_STATUS, in getCommandExecutionStatus() 35 return mNative->getDispatch().clSetUserEventStatus(mNative, executionStatus); in setUserEventStatus() 40 return mNative->getDispatch().clSetEventCallback(mNative, commandExecCallbackType, Callback, in setCallback() 49 return mNative->getDispatch().clGetEventProfilingInfo(mNative, cl::ToCLenum(name), valueSize, in getProfilingInfo()
|
D | CLCommandQueueCL.cpp | 60 if (mNative->getDispatch().clReleaseCommandQueue(mNative) != CL_SUCCESS) in ~CLCommandQueueCL() 68 return mNative->getDispatch().clSetCommandQueueProperty(mNative, properties.get(), enable, in setProperty() 89 mNative->getDispatch().clEnqueueReadBuffer(mNative, nativeBuffer, block, offset, size, ptr, in enqueueReadBuffer() 113 mNative->getDispatch().clEnqueueWriteBuffer(mNative, nativeBuffer, block, offset, size, ptr, in enqueueWriteBuffer() 141 const cl_int errorCode = mNative->getDispatch().clEnqueueReadBufferRect( in enqueueReadBufferRect() 171 const cl_int errorCode = mNative->getDispatch().clEnqueueWriteBufferRect( in enqueueWriteBufferRect() 196 const cl_int errorCode = mNative->getDispatch().clEnqueueCopyBuffer( in enqueueCopyBuffer() 224 const cl_int errorCode = mNative->getDispatch().clEnqueueCopyBufferRect( in enqueueCopyBufferRect() 247 const cl_int errorCode = mNative->getDispatch().clEnqueueFillBuffer( in enqueueFillBuffer() 272 void *const map = mNative->getDispatch().clEnqueueMapBuffer( in enqueueMapBuffer() [all …]
|
D | CLKernelCL.cpp | 37 errorCode = kernel->getDispatch().clGetKernelWorkGroupInfo(kernel, device, cl::ToCLenum(name), in GetWorkGroupInfo() 49 errorCode = kernel->getDispatch().clGetKernelArgInfo(kernel, index, cl::ToCLenum(name), in GetArgInfo() 61 errorCode = kernel->getDispatch().clGetKernelInfo(kernel, cl::ToCLenum(name), sizeof(T), &value, in GetKernelInfo() 73 errorCode = kernel->getDispatch().clGetKernelArgInfo(kernel, index, cl::ToCLenum(name), 0u, in GetArgString() 85 errorCode = kernel->getDispatch().clGetKernelArgInfo(kernel, index, cl::ToCLenum(name), size, in GetArgString() 99 kernel->getDispatch().clGetKernelInfo(kernel, cl::ToCLenum(name), 0u, nullptr, &size); in GetKernelString() 105 errorCode = kernel->getDispatch().clGetKernelInfo(kernel, cl::ToCLenum(name), size, in GetKernelString() 123 if (mNative->getDispatch().clReleaseKernel(mNative) != CL_SUCCESS) in ~CLKernelCL() 167 return mNative->getDispatch().clSetKernelArg(mNative, argIndex, argSize, argValue); in setArg()
|
D | CLMemoryCL.cpp | 30 if (mNative->getDispatch().clReleaseMemObject(mNative) != CL_SUCCESS) in ~CLMemoryCL() 39 errorCode = mNative->getDispatch().clGetMemObjectInfo(mNative, CL_MEM_SIZE, sizeof(size), &size, in getSize() 54 const cl_mem nativeBuffer = mNative->getDispatch().clCreateSubBuffer( in createSubBuffer()
|
D | CLSamplerCL.cpp | 30 if (mNative->getDispatch().clReleaseSampler(mNative) != CL_SUCCESS) in ~CLSamplerCL()
|
/external/angle/include/ |
D | angle_cl.h | 43 const cl_icd_dispatch &getDispatch() const { return *mDispatch; } in getDispatch() function
|