Home
last modified time | relevance | path

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

/external/OpenCL-CTS/test_conformance/buffers/
Dtest_sub_buffers.cpp237 …t context, cl_command_queue queueA, cl_command_queue queueB, size_t mainSize, size_t addressAlign ) in test_sub_buffers_read_write_core() argument
267 …et = get_random_size_t( toStartFrom / addressAlign, endRange / addressAlign, Action::GetRandSeed()… in test_sub_buffers_read_write_core()
268 …( 1, ( MIN( mainSize / 8, mainSize - offset ) ) / addressAlign, Action::GetRandSeed() ) * addressA… in test_sub_buffers_read_write_core()
273 if ( toStartFrom > ( mainSize - ( addressAlign * 256 ) ) ) in test_sub_buffers_read_write_core()
385 size_t addressAlign = addressAlignBits/8; in test_sub_buffers_read_write() local
387 return test_sub_buffers_read_write_core( context, queue, queue, mainSize, addressAlign ); in test_sub_buffers_read_write()
502 cl_uint addressAlign; in test_sub_buffers_overlapping() local
516 …tDeviceInfo( deviceID, CL_DEVICE_MEM_BASE_ADDR_ALIGN, sizeof( addressAlign ), &addressAlign, NULL … in test_sub_buffers_overlapping()
522 …size_t offset = get_random_size_t( 0, mainSize / addressAlign, Action::GetRandSeed() ) * addressAl… in test_sub_buffers_overlapping()
523 …e = get_random_size_t( 1, ( mainSize - offset ) / addressAlign, Action::GetRandSeed() ) * addressA… in test_sub_buffers_overlapping()
/external/OpenCL-CTS/test_conformance/api/
Dtest_mem_object_info.cpp152 size_t addressAlign = addressAlignBits/8; in test_get_buffer_info() local
153 if ( addressAlign < 128 ) in test_get_buffer_info()
155 addressAlign = 128; in test_get_buffer_info()
164 buffer = malloc( addressAlign * 4 ); in test_get_buffer_info()
165 … bufferObject = clCreateBuffer( context, bufferFlags[ i ], addressAlign * 4, buffer, &error ); in test_get_buffer_info()
182 buffer = malloc( addressAlign * 4 ); in test_get_buffer_info()
183 … bufferObject = clCreateBuffer( context, bufferFlags[ i ], addressAlign * 4, buffer, &error ); in test_get_buffer_info()
197 … bufferObject = clCreateBuffer( context, bufferFlags[ i ], addressAlign * 4, NULL, &error ); in test_get_buffer_info()
203 buffer = malloc( addressAlign * 4 ); in test_get_buffer_info()
204 … bufferObject = clCreateBuffer( context, bufferFlags[ i ], addressAlign * 4, buffer, &error ); in test_get_buffer_info()
[all …]