Lines Matching refs:NULL
79 if (msg == NULL) {
105 cl_platform_id platform = NULL;
106 status = clGetPlatformIDs(0, NULL, &numPlatforms);
114 status = clGetPlatformIDs(numPlatforms, platforms, NULL);
122 sizeof(pbuff), pbuff, NULL);
135 if (NULL == platform) {
136 printf("NULL platform found so Exiting Application.\n");
143 context = clCreateContextFromType(cps, CL_DEVICE_TYPE_GPU, NULL, NULL,
152 status = clGetContextInfo(context, CL_CONTEXT_DEVICES, 0, NULL,
166 devices, NULL);
191 status = clBuildProgram(program, 1, devices, NULL, NULL, NULL);
261 status = clEnqueueNDRangeKernel(commandQueue, kernel, 1, NULL,
262 globalThreads, localThreads, 0, NULL,