Searched refs:num_device (Results 1 – 2 of 2) sorted by relevance
104 cl_uint num_device = 0; in init() local114 if (clGetDeviceIDs (platform_id, CL_DEVICE_TYPE_GPU, 1, &device_id, &num_device) != CL_SUCCESS) in init()119 XCAM_ASSERT (num_device >= 1); in init()
58 num_device=$(ls /dev | grep fd0 | wc -l)59 if [ $num_device = 0 ]; then