Home
last modified time | relevance | path

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

/external/OpenCL-CTS/test_conformance/buffers/
Dtest_sub_buffers.cpp399 cl_device_id otherDevice = GetOpposingDevice( deviceID ); in test_sub_buffers_read_write_dual_devices() local
400 if ( otherDevice == NULL ) in test_sub_buffers_read_write_dual_devices()
405 if ( otherDevice == deviceID ) in test_sub_buffers_read_write_dual_devices()
413 error = clGetDeviceInfo(otherDevice, CL_DEVICE_NAME, 0, NULL, &param_size ); in test_sub_buffers_read_write_dual_devices()
421 error = clGetDeviceInfo(otherDevice, CL_DEVICE_NAME, param_size, &device_name[0], NULL ); in test_sub_buffers_read_write_dual_devices()
427 cl_device_id devices[ 2 ] = { deviceID, otherDevice }; in test_sub_buffers_read_write_dual_devices()
435 clCommandQueueWrapper queue2 = clCreateCommandQueue( testingContext, otherDevice, 0, &error ); in test_sub_buffers_read_write_dual_devices()
443 error = get_reasonable_buffer_size( otherDevice, maxBuffer2 ); in test_sub_buffers_read_write_dual_devices()
451 …error = clGetDeviceInfo( otherDevice, CL_DEVICE_MEM_BASE_ADDR_ALIGN, sizeof( addressAlign2Bits ), … in test_sub_buffers_read_write_dual_devices()