Home
last modified time | relevance | path

Searched refs:mKernel (Results 1 – 5 of 5) sorted by relevance

/external/OpenCL-CTS/test_common/harness/
DtypeWrappers.h79 clKernelWrapper() { mKernel = NULL; } in clKernelWrapper()
80 clKernelWrapper( cl_kernel kernel ) { mKernel = kernel; } in clKernelWrapper()
81 ~clKernelWrapper() { if( mKernel != NULL ) clReleaseKernel( mKernel ); } in ~clKernelWrapper()
83 clKernelWrapper & operator=( const cl_kernel &rhs ) { mKernel = rhs; return *this; }
84 operator cl_kernel() const { return mKernel; } in cl_kernel()
86 cl_kernel * operator&() { return &mKernel; }
88 bool operator==( const cl_kernel &rhs ) { return mKernel == rhs; }
92 cl_kernel mKernel;
/external/OpenCL-CTS/test_conformance/events/
Daction_classes.cpp140 if( create_single_kernel_helper( context, &mProgram, &mKernel, 1, long_kernel, "sample_test" ) ) in Setup()
145 error = get_max_common_work_group_size( context, mKernel, threads[0], &mLocalThreads[0] ); in Setup()
154 error = clSetKernelArg( mKernel, 0, sizeof( mStreams[0] ), &mStreams[0] ); in Setup()
156 error = clSetKernelArg( mKernel, 1, sizeof( mStreams[1] ), &mStreams[1] ); in Setup()
165 …cl_int error = clEnqueueNDRangeKernel( queue, mKernel, 1, NULL, threads, mLocalThreads, numWaits, … in Execute()
Daction_classes.h53 clKernelWrapper mKernel; variable
/external/OpenCL-CTS/test_conformance/gles/
Dtest_fence_sync.cpp279 cl_kernel mKernel; member in RunThread
287 …: mKernel( kernel ), mQueue( queue ), mStream0( stream0 ), mStream1( stream1 ), mNumThreads( numTh… in RunThread()
299 …cl_int error = run_cl_kernel( mKernel, mQueue, mStream0, mStream1, mRowIdx, mFenceEvent, mNumThrea… in IRun()
/external/OpenCL-CTS/test_conformance/gl/
Dtest_fence_sync.cpp267 cl_kernel mKernel; member in RunThread
275 …: mKernel( kernel ), mQueue( queue ), mStream0( stream0 ), mStream1( stream1 ), mNumThreads( numTh… in RunThread()
287 …cl_int error = run_cl_kernel( mKernel, mQueue, mStream0, mStream1, mRowIdx, mFenceEvent, mNumThrea… in IRun()