Lines Matching refs:gContext
69 cl_context gContext = NULL; variable
485 gContext = clCreateContext( NULL, 1, &device, notify_callback, NULL, &error ); in InitCL()
486 if( NULL == gContext || error ) in InitCL()
492 gQueue = clCreateCommandQueue( gContext, device, 0, &error ); in InitCL()
500 bufA = clCreateBuffer( gContext, CL_MEM_READ_WRITE, BUFFER_SIZE, NULL, NULL ); in InitCL()
501 bufB = clCreateBuffer( gContext, CL_MEM_READ_WRITE, BUFFER_SIZE, NULL, NULL ); in InitCL()
502 bufC = clCreateBuffer( gContext, CL_MEM_READ_WRITE, BUFFER_SIZE, NULL, NULL ); in InitCL()
503 bufD = clCreateBuffer( gContext, CL_MEM_READ_WRITE, BUFFER_SIZE, NULL, NULL ); in InitCL()
504 bufE = clCreateBuffer( gContext, CL_MEM_READ_WRITE, BUFFER_SIZE, NULL, NULL ); in InitCL()
518 bufC_double = clCreateBuffer( gContext, CL_MEM_READ_WRITE, BUFFER_SIZE, NULL, NULL ); in InitCL()
519 bufD_double = clCreateBuffer( gContext, CL_MEM_READ_WRITE, BUFFER_SIZE, NULL, NULL ); in InitCL()
585 error = create_single_kernel_helper(gContext, &gProgram[i], nullptr, in InitCL()
604 error = create_single_kernel_helper(gContext, &gProgram_double[i], in InitCL()
938 clReleaseContext(gContext); in ReleaseCL()