Searched refs:get_random_size_t (Results 1 – 5 of 5) sorted by relevance
/external/OpenCL-CTS/test_conformance/basic/ |
D | test_bufferreadwriterect.cpp | 387 width[i] = get_random_size_t(1, max_mem_alloc_dim, mt); in test_bufferreadwriterect() 388 height[i] = get_random_size_t(1, max_mem_alloc_dim, mt); in test_bufferreadwriterect() 389 depth[i] = get_random_size_t(1, max_mem_alloc_dim, mt); in test_bufferreadwriterect() 448 size_t src = get_random_size_t(0,TotalImages,mt); in test_bufferreadwriterect() 449 size_t dst = get_random_size_t(0,TotalImages,mt); in test_bufferreadwriterect() 457 size_t mx = get_random_size_t(0, min_width-1, mt); in test_bufferreadwriterect() 458 size_t my = get_random_size_t(0, min_height-1, mt); in test_bufferreadwriterect() 459 size_t mz = get_random_size_t(0, min_depth-1, mt); in test_bufferreadwriterect() 461 size_t sw = get_random_size_t(1, (min_width - mx), mt); in test_bufferreadwriterect() 462 size_t sh = get_random_size_t(1, (min_height - my), mt); in test_bufferreadwriterect() [all …]
|
/external/OpenCL-CTS/test_conformance/buffers/ |
D | test_sub_buffers.cpp | 87 size_t start = get_random_size_t( 0, buffer1.mSize / 2, GetRandSeed() ); in Execute() 88 size_t end = get_random_size_t( start, buffer1.mSize, GetRandSeed() ); in Execute() 119 size_t size = get_random_size_t( 0, MIN( buffer1.mSize, buffer2.mSize ), GetRandSeed() ); in Execute() 121 size_t startOffset = get_random_size_t( 0, buffer1.mSize - size, GetRandSeed() ); in Execute() 122 size_t endOffset = get_random_size_t( 0, buffer2.mSize - size, GetRandSeed() ); in Execute() 141 size_t size = get_random_size_t( 0, buffer1.mSize, GetRandSeed() ); in Execute() 142 size_t start = get_random_size_t( 0, buffer1.mSize - size, GetRandSeed() ); in Execute() 267 …size_t offset = get_random_size_t( toStartFrom / addressAlign, endRange / addressAlign, Action::Ge… in test_sub_buffers_read_write_core() 268 …size_t size = get_random_size_t( 1, ( MIN( mainSize / 8, mainSize - offset ) ) / addressAlign, Act… in test_sub_buffers_read_write_core() 522 …size_t offset = get_random_size_t( 0, mainSize / addressAlign, Action::GetRandSeed() ) * addressAl… in test_sub_buffers_overlapping() [all …]
|
/external/OpenCL-CTS/test_conformance/spir/ |
D | datagen.h | 77 size_t get_random_size_t(size_t low, size_t high, MTdata d); 134 return (bool)get_random_size_t((size_t)low, (size_t)high, m_d); in ESINNS_PREF() 139 return (cl_char)get_random_size_t((size_t)low, (size_t)high, m_d); in ESINNS_PREF() 154 return (cl_int)get_random_size_t((size_t)low, (size_t)high, m_d); in ESINNS_PREF() 159 return (cl_long)get_random_size_t((size_t)low, (size_t)high, m_d); in ESINNS_PREF() 164 return (cl_short)get_random_size_t((size_t)low, (size_t)high, m_d); in ESINNS_PREF() 169 return (cl_uchar)get_random_size_t((size_t)low, (size_t)high, m_d); in ESINNS_PREF() 174 return (cl_uint)get_random_size_t((size_t)low, (size_t)high, m_d); in ESINNS_PREF() 179 return (cl_ulong)get_random_size_t((size_t)low, (size_t)high, m_d); in ESINNS_PREF() 184 return (cl_ushort)get_random_size_t((size_t)low, (size_t)high, m_d); in ESINNS_PREF()
|
/external/OpenCL-CTS/test_common/harness/ |
D | conversions.h | 91 size_t get_random_size_t(size_t low, size_t high, MTdata d);
|
D | conversions.cpp | 1198 size_t get_random_size_t(size_t low, size_t high, MTdata d) in get_random_size_t() function
|