Searched refs:num_devices_plus_host (Results 1 – 1 of 1) sorted by relevance
67 cl_uint num_devices_plus_host = num_devices + 1; in test_svm_byte_granularity() local86 err |= clSetKernelArg(k1, 1, sizeof(cl_uint), &num_devices_plus_host); in test_svm_byte_granularity()102 for(int i = (int)num_devices; i < num_elements; i+= num_devices_plus_host) pA[i] = host_id; in test_svm_byte_granularity()109 err |= clSetKernelArg(k2, 1, sizeof(cl_uint), &num_devices_plus_host); in test_svm_byte_granularity()132 cl_uint expected = (num_devices_plus_host * (num_devices_plus_host - 1))/2; in test_svm_byte_granularity()134 for(cl_uint i = 0; i < num_elements - num_devices_plus_host; i++) in test_svm_byte_granularity()137 for(cl_uint j=0; j < num_devices_plus_host; j++) sum += pA[i+j]; in test_svm_byte_granularity()