/external/OpenCL-CTS/test_conformance/api/ |
D | test_device_min_data_type_align_size_alignment.cpp | 30 cl_uint min_alignment; in test_min_data_type_align_size_alignment() local 33 min_alignment = sizeof(cl_long)*16; in test_min_data_type_align_size_alignment() 35 min_alignment = sizeof(cl_int)*16; in test_min_data_type_align_size_alignment() 45 if (alignment < min_alignment*8) { in test_min_data_type_align_size_alignment() 48 (unsigned long)(min_alignment*8), (unsigned long)alignment); in test_min_data_type_align_size_alignment()
|
/external/OpenCL-CTS/test_conformance/buffers/ |
D | test_buffer_write.cpp | 637 size_t min_alignment = get_min_alignment(context); in test_buffer_write() local 680 outptr[i] = align_malloc( ptrSizes[i] * (num_elements * 2 ), min_alignment); in test_buffer_write() 691 outptr[i] = align_malloc( ptrSizes[i] * num_elements, min_alignment); in test_buffer_write() 810 size_t min_alignment = get_min_alignment(context); in test_buffer_write_struct() local 840 inptr[i] = (TestStruct *)align_malloc(ptrSizes[i] * num_elements, min_alignment); in test_buffer_write_struct() 861 outptr[i] = align_malloc( ptrSizes[i] * num_elements, min_alignment); in test_buffer_write_struct() 984 size_t min_alignment = get_min_alignment(context); in test_buffer_write_array_async() local 1010 outptr[i] = align_malloc( ptrSizes[i] * num_elements, min_alignment); in test_buffer_write_array_async() 1110 size_t min_alignment = get_min_alignment(context); in test_buffer_write_int() local 1121 inptr[i] = (int *)align_malloc(ptrSizes[i] * num_elements, min_alignment); in test_buffer_write_int() [all …]
|
D | test_buffer_fill.cpp | 575 size_t min_alignment = get_min_alignment(context); in test_buffer_fill() local 624 outptr[i] = align_malloc( ptrSizes[i] * num_elements, min_alignment); in test_buffer_fill() 716 size_t min_alignment = get_min_alignment(context); in test_buffer_fill_struct() local 756 min_alignment); in test_buffer_fill_struct() 775 min_alignment); in test_buffer_fill_struct() 799 outptr = align_malloc( ptrSize * num_elements, min_alignment); in test_buffer_fill_struct() 904 size_t min_alignment = get_min_alignment(context); in test_buffer_fill_int() local 925 inptr[i] = (cl_int *)align_malloc(ptrSizes[i] * num_elements, min_alignment); in test_buffer_fill_int() 933 hostptr[i] = (cl_int *)align_malloc(ptrSizes[i] * num_elements, min_alignment); in test_buffer_fill_int() 969 size_t min_alignment = get_min_alignment(context); in test_buffer_fill_uint() local [all …]
|
D | test_buffer_copy.cpp | 50 size_t min_alignment = get_min_alignment(context); in test_copy() local 52 int_input_ptr = (cl_int*) align_malloc(sizeof(cl_int) * num_elements, min_alignment); in test_copy() 53 int_output_ptr = (cl_int*)align_malloc(sizeof(cl_int) * num_elements, min_alignment); in test_copy() 149 size_t min_alignment = get_min_alignment(context); in testPartialCopy() local 151 inptr = (int *)align_malloc( sizeof(int) * num_elements, min_alignment); in testPartialCopy() 156 outptr = (int *)align_malloc( sizeof(int) * num_elements, min_alignment); in testPartialCopy()
|
D | test_buffer_read.cpp | 635 size_t min_alignment = get_min_alignment(context); in test_buffer_read() local 667 outptr[i] = align_malloc( ptrSizes[i] * num_elements, min_alignment); in test_buffer_read() 672 inptr[i] = align_malloc( ptrSizes[i] * num_elements, min_alignment); in test_buffer_read() 777 size_t min_alignment = get_min_alignment(context); in test_buffer_read_async() local 808 outptr[i] = align_malloc(ptrSizes[i] * num_elements, min_alignment); in test_buffer_read_async() 814 inptr[i] = align_malloc(ptrSizes[i] * num_elements, min_alignment); in test_buffer_read_async() 913 size_t min_alignment = get_min_alignment(context); in test_buffer_read_array_barrier() local 944 outptr[i] = align_malloc(ptrSizes[i] * num_elements, min_alignment); in test_buffer_read_array_barrier() 950 inptr[i] = align_malloc(ptrSizes[i] * num_elements, min_alignment); in test_buffer_read_array_barrier() 1109 size_t min_alignment = get_min_alignment(context); local [all …]
|
D | test_buffer_mem.cpp | 81 size_t min_alignment = get_min_alignment(context); in test_mem_flags() local 88 inptr = (cl_int*)align_malloc(sizeof(cl_int) * num_elements, min_alignment); in test_mem_flags() 95 outptr = (cl_int*)align_malloc(sizeof(cl_int) * num_elements, min_alignment); in test_mem_flags()
|
D | test_buffer_map.cpp | 568 size_t min_alignment = get_min_alignment(context); in test_buffer_map_read() local 596 outptr[i] = align_malloc( ptrSizes[i] * num_elements, min_alignment); in test_buffer_map_read()
|
/external/OpenCL-CTS/test_conformance/pipes/ |
D | test_pipe_read_write.cpp | 474 size_t min_alignment = get_min_alignment(context); in test_pipe_readwrite() local 493 outptr[i] = align_malloc(ptrSizes[i] * num_elements, min_alignment); in test_pipe_readwrite() 635 size_t min_alignment = get_min_alignment(context); in test_pipe_readwrite_struct_generic() local 639 inptr = (TestStruct *)align_malloc(size * num_elements, min_alignment); in test_pipe_readwrite_struct_generic() 651 outptr = align_malloc( size * num_elements, min_alignment); in test_pipe_readwrite_struct_generic() 707 size_t min_alignment = get_min_alignment(context); in test_pipe_readwrite_int() local 718 inptr[i] = (cl_int *)align_malloc(ptrSizes[i] * num_elements, min_alignment); in test_pipe_readwrite_int() 760 size_t min_alignment = get_min_alignment(context); in test_pipe_readwrite_uint() local 771 inptr[i] = (cl_uint *)align_malloc(ptrSizes[i] * num_elements, min_alignment); in test_pipe_readwrite_uint() 812 size_t min_alignment = get_min_alignment(context); in test_pipe_readwrite_short() local [all …]
|
D | test_pipe_subgroups.cpp | 111 size_t min_alignment = get_min_alignment(context); in test_pipe_subgroups_divergence() local 124 inptr = (cl_int *)align_malloc(size, min_alignment); in test_pipe_subgroups_divergence() 125 outptr = (cl_int *)align_malloc(size, min_alignment); in test_pipe_subgroups_divergence() 126 active_work_item_buffer = (cl_int *)align_malloc(size, min_alignment); in test_pipe_subgroups_divergence()
|
D | test_pipe_limits.cpp | 178 size_t min_alignment = get_min_alignment(context); in test_pipe_max_args() local 195 inptr = (cl_int *)align_malloc(size, min_alignment); in test_pipe_max_args() 205 outptr = align_malloc(size, min_alignment); in test_pipe_max_args() 288 size_t min_alignment = get_min_alignment(context); in test_pipe_max_packet_size() local 313 inptr = (cl_char *)align_malloc(size, min_alignment); in test_pipe_max_packet_size() 323 outptr = align_malloc(size, min_alignment); in test_pipe_max_packet_size() 434 size_t min_alignment = get_min_alignment(context); in test_pipe_max_active_reservations() local 566 inptr = (cl_int *)align_malloc(size, min_alignment); in test_pipe_max_active_reservations() 576 outptr = align_malloc(size, min_alignment); in test_pipe_max_active_reservations()
|
D | test_pipe_readwrite_errors.cpp | 86 size_t min_alignment = get_min_alignment(context); in test_pipe_readwrite_errors() local 92 inptr = (cl_int *)align_malloc(size, min_alignment); in test_pipe_readwrite_errors() 104 outptr = align_malloc(size, min_alignment); in test_pipe_readwrite_errors()
|
D | test_pipe_query_functions.cpp | 107 size_t min_alignment = get_min_alignment(context); in test_pipe_query_functions() local 114 inptr = (int *)align_malloc(size, min_alignment); in test_pipe_query_functions() 125 outptr1 = align_malloc(size/2, min_alignment); in test_pipe_query_functions() 126 outptr2 = align_malloc(size, min_alignment); in test_pipe_query_functions()
|
/external/mesa3d/src/panfrost/midgard/ |
D | midgard_ra.c | 435 unsigned *min_alignment = calloc(sizeof(unsigned), ctx->temp_count); in allocate_registers() local 450 min_alignment[s] = 3; in allocate_registers() 460 min_alignment[s] = (size == 64) ? 3 : 2; in allocate_registers() 482 min_alignment[dest] = in allocate_registers() 497 min_alignment[dest] = 4; /* 1 << 4= 16-byte = vec4 */ in allocate_registers() 506 min_alignment[dest] = MAX2(min_alignment[dest], 2); in allocate_registers() 510 lcra_set_alignment(l, i, min_alignment[i] ? min_alignment[i] : 2, in allocate_registers() 516 free(min_alignment); in allocate_registers()
|
/external/OpenCL-CTS/test_conformance/math_brute_force/ |
D | main.cpp | 673 cl_uint min_alignment = 0; in InitCL() local 675 sizeof(cl_uint), (void *)&min_alignment, NULL); in InitCL() 681 min_alignment >>= 3; // convert bits to bytes in InitCL() 683 gIn = align_malloc(BUFFER_SIZE, min_alignment); in InitCL() 685 gIn2 = align_malloc(BUFFER_SIZE, min_alignment); in InitCL() 687 gIn3 = align_malloc(BUFFER_SIZE, min_alignment); in InitCL() 689 gOut_Ref = align_malloc(BUFFER_SIZE, min_alignment); in InitCL() 691 gOut_Ref2 = align_malloc(BUFFER_SIZE, min_alignment); in InitCL() 696 gOut[i] = align_malloc(BUFFER_SIZE, min_alignment); in InitCL() 698 gOut2[i] = align_malloc(BUFFER_SIZE, min_alignment); in InitCL()
|
/external/vboot_reference/futility/ |
D | kernel_blob.h | 57 uint8_t min_alignment; /* 235 */ member
|
/external/llvm-project/compiler-rt/lib/memprof/ |
D | memprof_allocator.cpp | 523 const uptr min_alignment = MEMPROF_ALIGNMENT; in Allocate() local 524 if (alignment < min_alignment) in Allocate() 525 alignment = min_alignment; in Allocate() 538 if (alignment > min_alignment) in Allocate() 540 CHECK(IsAligned(needed_size, min_alignment)); in Allocate()
|
/external/compiler-rt/lib/asan/ |
D | asan_allocator.cc | 329 const uptr min_alignment = SHADOW_GRANULARITY; in Allocate() local 330 if (alignment < min_alignment) in Allocate() 331 alignment = min_alignment; in Allocate() 346 if (alignment > min_alignment) in Allocate() 355 CHECK(IsAligned(needed_size, min_alignment)); in Allocate()
|
/external/llvm-project/compiler-rt/lib/asan/ |
D | asan_allocator.cpp | 495 const uptr min_alignment = SHADOW_GRANULARITY; in Allocate() local 498 if (alignment < min_alignment) in Allocate() 499 alignment = min_alignment; in Allocate() 514 if (alignment > min_alignment) in Allocate() 520 CHECK(IsAligned(needed_size, min_alignment)); in Allocate()
|
/external/kernel-headers/original/uapi/asm-x86/asm/ |
D | bootparam.h | 93 __u8 min_alignment; member
|
/external/jemalloc_new/src/ |
D | jemalloc.c | 1625 size_t min_alignment; member 1649 static_opts->min_alignment = 0; 1840 if (unlikely(dopts->alignment < sopts->min_alignment 2075 sopts.min_alignment = sizeof(void *); 2112 sopts.min_alignment = 1; 2447 sopts.min_alignment = 1; 2483 sopts.min_alignment = PAGE;
|
/external/avb/examples/uefi/ |
D | uefi_avb_boot.c | 69 UINT8 min_alignment; member
|
/external/crosvm/x86_64/src/ |
D | bootparam.rs | 351 pub min_alignment: __u8, field
|