Home
last modified time | relevance | path

Searched refs:cl_sampler (Results 1 – 25 of 56) sorted by relevance

123

/external/angle/src/libANGLE/renderer/cl/
DCLSamplerCL.h21 CLSamplerCL(const cl::Sampler &sampler, cl_sampler native);
24 cl_sampler getNative() const;
27 const cl_sampler mNative;
30 inline cl_sampler CLSamplerCL::getNative() const in getNative()
DCLKernelCL.cpp144 if (value == nullptr && argSize == sizeof(cl_sampler)) in setArg()
146 cl_sampler sampler = *static_cast<const cl_sampler *>(argValue); in setArg()
DCLContextCL.h30 bool hasSampler(cl_sampler sampler) const;
111 inline bool CLContextCL::hasSampler(cl_sampler sampler) const in hasSampler()
DCLSamplerCL.cpp18 CLSamplerCL::CLSamplerCL(const cl::Sampler &sampler, cl_sampler native) in CLSamplerCL()
/external/mesa3d/src/gallium/frontends/clover/api/
Dsampler.cpp28 CLOVER_API cl_sampler
46 clRetainSampler(cl_sampler d_s) try { in clRetainSampler()
55 clReleaseSampler(cl_sampler d_s) try { in clReleaseSampler()
66 clGetSamplerInfo(cl_sampler d_s, cl_sampler_info param, in clGetSamplerInfo()
/external/OpenCL-CTS/test_common/harness/
DtypeWrappers.h226 clSamplerWrapper(cl_sampler mem) { mMem = mem; } in clSamplerWrapper()
232 clSamplerWrapper &operator=(const cl_sampler &rhs)
237 operator cl_sampler() const { return mMem; } in cl_sampler() function
239 cl_sampler *operator&() { return &mMem; }
241 bool operator==(const cl_sampler &rhs) { return mMem == rhs; }
244 cl_sampler mMem;
/external/OpenCL-CTS/test_conformance/spir/
Dkernelargs.h208 KernelArg(KernelArgInfo(), NULL, sizeof(cl_sampler)) in KernelArgSampler()
227 return sizeof(cl_sampler); in getArgSize()
246 cl_sampler getSampler() const in getSampler()
248 return (cl_sampler)m_samplerObj; in getSampler()
/external/tensorflow/tensorflow/lite/delegates/gpu/cl/
Dopencl_wrapper.h142 typedef cl_sampler(CL_API_CALL *PFN_clCreateSamplerWithProperties)(
146 typedef cl_int(CL_API_CALL *PFN_clRetainSampler)(cl_sampler /* sampler */)
148 typedef cl_int(CL_API_CALL *PFN_clReleaseSampler)(cl_sampler /* sampler */)
151 cl_sampler /* sampler */, cl_sampler_info /* param_name */,
471 typedef cl_sampler(CL_API_CALL *PFN_clCreateSampler)(
/external/angle/src/libANGLE/
DCLContext.h73 cl_sampler createSamplerWithProperties(const cl_sampler_properties *properties,
76 cl_sampler createSampler(cl_bool normalizedCoords,
/external/angle/src/libGLESv2/
Dcl_stubs_autogen.h150 cl_sampler CreateSamplerWithProperties(cl_context context,
153 cl_int RetainSampler(cl_sampler sampler);
154 cl_int ReleaseSampler(cl_sampler sampler);
155 cl_int GetSamplerInfo(cl_sampler sampler,
566 cl_sampler CreateSampler(cl_context context,
Dentry_points_cl_autogen.h93 cl_int CL_API_CALL clRetainSampler(cl_sampler sampler);
94 cl_int CL_API_CALL clReleaseSampler(cl_sampler sampler);
95 cl_int CL_API_CALL clGetSamplerInfo(cl_sampler sampler,
327 cl_sampler CL_API_CALL clCreateSampler(cl_context context,
501 cl_sampler CL_API_CALL
/external/OpenCL-CTS/test_conformance/images/samplerlessReads/
Dtest_read_1D.cpp61 cl_sampler actualSampler; in test_read_image_1D()
136 error = clSetKernelArg( kernel, idx++, sizeof( cl_sampler ), &actualSampler ); in test_read_image_1D()
Dtest_read_1D_buffer.cpp46 cl_sampler actualSampler; in test_read_image_1D_buffer()
122 error = clSetKernelArg( kernel, idx++, sizeof( cl_sampler ), &actualSampler ); in test_read_image_1D_buffer()
Dtest_iterations.cpp63 cl_sampler actualSampler; in test_read_image_2D()
134 error = clSetKernelArg( kernel, idx++, sizeof( cl_sampler ), &actualSampler ); in test_read_image_2D()
Dtest_read_1D_array.cpp63 cl_sampler actualSampler; in test_read_image_1D_array()
131 error = clSetKernelArg( kernel, idx++, sizeof( cl_sampler ), &actualSampler ); in test_read_image_1D_array()
Dtest_read_3D.cpp56 cl_sampler actualSampler; in test_read_image_3D()
117 error = clSetKernelArg( kernel, idx++, sizeof( cl_sampler ), &actualSampler ); in test_read_image_3D()
Dtest_read_2D_array.cpp57 cl_sampler actualSampler; in test_read_image_2D_array()
118 error = clSetKernelArg( kernel, idx++, sizeof( cl_sampler ), &actualSampler ); in test_read_image_2D_array()
/external/mesa3d/include/CL/
Dcl.h37 typedef struct _cl_sampler * cl_sampler; typedef
1209 extern CL_API_ENTRY cl_sampler CL_API_CALL
1217 clRetainSampler(cl_sampler sampler) CL_API_SUFFIX__VERSION_1_0;
1220 clReleaseSampler(cl_sampler sampler) CL_API_SUFFIX__VERSION_1_0;
1223 clGetSamplerInfo(cl_sampler sampler,
1909 extern CL_API_ENTRY CL_EXT_PREFIX__VERSION_1_2_DEPRECATED cl_sampler CL_API_CALL
/external/angle/include/CL/
Dcl.h37 typedef struct _cl_sampler * cl_sampler; typedef
1211 extern CL_API_ENTRY cl_sampler CL_API_CALL
1219 clRetainSampler(cl_sampler sampler) CL_API_SUFFIX__VERSION_1_0;
1222 clReleaseSampler(cl_sampler sampler) CL_API_SUFFIX__VERSION_1_0;
1225 clGetSamplerInfo(cl_sampler sampler,
1911 extern CL_API_ENTRY CL_API_PREFIX__VERSION_1_2_DEPRECATED cl_sampler CL_API_CALL
/external/OpenCL-CTS/dependencies/ocl-headers/CL/
Dcl.h37 typedef struct _cl_sampler * cl_sampler; typedef
1211 extern CL_API_ENTRY cl_sampler CL_API_CALL
1219 clRetainSampler(cl_sampler sampler) CL_API_SUFFIX__VERSION_1_0;
1222 clReleaseSampler(cl_sampler sampler) CL_API_SUFFIX__VERSION_1_0;
1225 clGetSamplerInfo(cl_sampler sampler,
1911 extern CL_API_ENTRY CL_API_PREFIX__VERSION_1_2_DEPRECATED cl_sampler CL_API_CALL
/external/OpenCL-CTS/test_conformance/basic/
Dtest_readimage_fp32.cpp126cl_sampler sampler = clCreateSampler(context, CL_FALSE, CL_ADDRESS_CLAMP_TO_EDGE, CL_FILTER_NEARES… in test_readimage_fp32()
Dtest_readimage3d_fp32.cpp117cl_sampler sampler = clCreateSampler(context, CL_FALSE, CL_ADDRESS_CLAMP_TO_EDGE, CL_FILTER_NEARES… in test_readimage3d_fp32()
Dtest_readimage3d_int16.cpp116cl_sampler sampler = clCreateSampler(context, CL_FALSE, CL_ADDRESS_CLAMP_TO_EDGE, CL_FILTER_NEARES… in test_readimage3d_int16()
Dtest_readimage_int16.cpp125cl_sampler sampler = clCreateSampler(context, CL_FALSE, CL_ADDRESS_CLAMP_TO_EDGE, CL_FILTER_NEARES… in test_readimage_int16()
Dtest_image_r8.cpp137cl_sampler sampler = clCreateSampler(context, CL_FALSE, CL_ADDRESS_CLAMP_TO_EDGE, CL_FILTER_NEARES… in test_image_r8()

123