/external/toolchain-utils/bestflags/ |
D | task_test.py | 67 for flag_set in flag_sets: 68 assert Task(flag_set) == Task(flag_set) 71 for flag_set in flag_sets: 72 test_task = Task(flag_set) 73 other_flag_sets = [flags for flags in flag_sets if flags != flag_set] 87 for flag_set in flag_sets: 89 hash_task = Task(flag_set) 91 assert hash_value == flag_set.GetHash() 103 for flag_set in flag_sets: 104 identifier_task = Task(flag_set) [all …]
|
D | testing_batch.py | 55 flag_set = [] 67 flag_set.append(Flag(spec, value)) 71 flag_set.append(Flag(spec)) 73 return set([Task(FlagSet(flag_set))]) 89 flag_set = [] 98 flag_set.append(Flag(spec, value)) 100 return set([Task(FlagSet(flag_set))]) 160 flag_set = [] 169 flag_set.append(flags.Flag(other_spec, end - 2)) 177 flag_set.append(flags.Flag(other_spec, end - 1)) [all …]
|
D | flags_test.py | 119 flag_set = FlagSet([Flag(spec)]) 123 assert flag_set != FlagSet([Flag(other_spec)]) 137 flag_set = FlagSet(flag_array) 144 assert flag_set[spec] == spec_flag[spec] 158 flag_set = FlagSet([Flag(spec) for spec in specs]) 161 assert spec in flag_set 164 assert spec not in flag_set 183 flag_set = FlagSet(flags) 186 assert sorted(result) == flag_set.FormattedForUse()
|
D | genetic_algorithm.py | 38 def RandomMutate(specs, flag_set, mutation_rate): argument 58 if spec not in flag_set: 70 value = flag_set[spec].GetValue() 90 def __init__(self, flag_set): argument 91 Task.__init__(self, flag_set)
|
/external/OpenCL-CTS/test_conformance/buffers/ |
D | test_buffer_copy.cpp | 64 …if ((flag_set[src_flag_id] & CL_MEM_USE_HOST_PTR) || (flag_set[src_flag_id] & CL_MEM_COPY_HOST_PTR… in test_copy() 65 …buffers[0] = clCreateBuffer(context, flag_set[src_flag_id], sizeof(cl_int) * num_elements, int_in… in test_copy() 67 …buffers[0] = clCreateBuffer(context, flag_set[src_flag_id], sizeof(cl_int) * num_elements, NULL, … in test_copy() 75 …if ((flag_set[dst_flag_id] & CL_MEM_USE_HOST_PTR) || (flag_set[dst_flag_id] & CL_MEM_COPY_HOST_PTR… in test_copy() 76 …buffers[1] = clCreateBuffer(context, flag_set[dst_flag_id], sizeof(cl_int) * num_elements, int_ou… in test_copy() 78 …buffers[1] = clCreateBuffer(context, flag_set[dst_flag_id], sizeof(cl_int) * num_elements, NULL, … in test_copy() 87 …if (!(flag_set[src_flag_id] & CL_MEM_USE_HOST_PTR) && !(flag_set[src_flag_id] & CL_MEM_COPY_HOST_P… in test_copy() 172 …if ((flag_set[src_flag_id] & CL_MEM_USE_HOST_PTR) || (flag_set[src_flag_id] & CL_MEM_COPY_HOST_PTR… in testPartialCopy() 173 …buffers[0] = clCreateBuffer(context, flag_set[src_flag_id], sizeof(cl_int) * num_elements, inptr,… in testPartialCopy() 175 …buffers[0] = clCreateBuffer(context, flag_set[src_flag_id], sizeof(cl_int) * num_elements, NULL, … in testPartialCopy() [all …]
|
D | test_buffer_write.cpp | 664 …if ((flag_set[src_flag_id] & CL_MEM_USE_HOST_PTR) || (flag_set[src_flag_id] & CL_MEM_COPY_HOST_PTR… in test_buffer_write() 665 buffers[0] = clCreateBuffer(context, flag_set[src_flag_id], in test_buffer_write() 670 clCreateBuffer(context, flag_set[src_flag_id], in test_buffer_write() 681 …if ((flag_set[dst_flag_id] & CL_MEM_USE_HOST_PTR) || (flag_set[dst_flag_id] & CL_MEM_COPY_HOST_PTR… in test_buffer_write() 683 context, flag_set[dst_flag_id], in test_buffer_write() 687 context, flag_set[dst_flag_id], in test_buffer_write() 692 …if ((flag_set[dst_flag_id] & CL_MEM_USE_HOST_PTR) || (flag_set[dst_flag_id] & CL_MEM_COPY_HOST_PTR… in test_buffer_write() 694 context, flag_set[dst_flag_id], in test_buffer_write() 698 context, flag_set[dst_flag_id], in test_buffer_write() 728 …else if (!(flag_set[src_flag_id] & CL_MEM_USE_HOST_PTR) && !(flag_set[src_flag_id] & CL_MEM_COPY_H… in test_buffer_write() [all …]
|
D | test_buffer_map.cpp | 602 …if ((flag_set[src_flag_id] & CL_MEM_USE_HOST_PTR) || (flag_set[src_flag_id] & CL_MEM_COPY_HOST_PTR… in test_buffer_map_read() 604 clCreateBuffer(context, flag_set[src_flag_id], in test_buffer_map_read() 607 buffer = clCreateBuffer(context, flag_set[src_flag_id], in test_buffer_map_read() 662 if ((flag_set[src_flag_id] & CL_MEM_USE_HOST_PTR)) { in test_buffer_map_read()
|
D | test_buffer_read.cpp | 679 …if ((flag_set[src_flag_id] & CL_MEM_USE_HOST_PTR) || (flag_set[src_flag_id] & CL_MEM_COPY_HOST_PTR… in test_buffer_read() 681 clCreateBuffer(context, flag_set[src_flag_id], in test_buffer_read() 684 buffer = clCreateBuffer(context, flag_set[src_flag_id], in test_buffer_read() 822 …if ((flag_set[src_flag_id] & CL_MEM_USE_HOST_PTR) || (flag_set[src_flag_id] & CL_MEM_COPY_HOST_PTR… in test_buffer_read_async() 824 clCreateBuffer(context, flag_set[src_flag_id], in test_buffer_read_async() 827 buffer = clCreateBuffer(context, flag_set[src_flag_id], in test_buffer_read_async() 957 …if ((flag_set[src_flag_id] & CL_MEM_USE_HOST_PTR) || (flag_set[src_flag_id] & CL_MEM_COPY_HOST_PTR… in test_buffer_read_array_barrier() 959 clCreateBuffer(context, flag_set[src_flag_id], in test_buffer_read_array_barrier() 962 buffer = clCreateBuffer(context, flag_set[src_flag_id], in test_buffer_read_array_barrier()
|
/external/tensorflow/third_party/toolchains/preconfig/ubuntu16.04/gcc5-rocm/ |
D | cc_toolchain_config.bzl | 8 "flag_set", 99 flag_set( 107 flag_set( 116 flag_set( 125 flag_set( 140 flag_set( 148 flag_set( 168 flag_set( 193 flag_set( 215 flag_set( [all …]
|
/external/tensorflow/third_party/gpus/crosstool/ |
D | hipcc_cc_toolchain_config.bzl.tpl | 8 "flag_set", 99 flag_set( 107 flag_set( 116 flag_set( 125 flag_set( 140 flag_set( 148 flag_set( 168 flag_set( 193 flag_set( 215 flag_set( [all …]
|
D | cc_toolchain_config.bzl.tpl | 12 "flag_set", 285 return [flag_set( 307 flag_set( 320 flag_set( 353 flag_set( 359 flag_set( 393 flag_set( 398 flag_set( 412 flag_set( 421 flag_set( [all …]
|
/external/tensorflow/third_party/toolchains/preconfig/ubuntu16.04/gcc7_manylinux2010-nvcc-cuda11/ |
D | cc_toolchain_config.bzl | 11 "flag_set", 268 flag_set( 285 flag_set( 315 flag_set( 331 flag_set( 352 flag_set( 371 flag_set( 395 flag_set( 411 flag_set( 422 flag_set( [all …]
|
/external/tensorflow/third_party/toolchains/preconfig/ubuntu16.04/clang_manylinux2010-cuda10.0/ |
D | cc_toolchain_config.bzl | 11 "flag_set", 268 flag_set( 285 flag_set( 315 flag_set( 331 flag_set( 352 flag_set( 371 flag_set( 395 flag_set( 411 flag_set( 422 flag_set( [all …]
|
/external/tensorflow/third_party/toolchains/preconfig/ubuntu16.04/gcc7_manylinux2010-nvcc-cuda10.1/ |
D | cc_toolchain_config.bzl | 11 "flag_set", 268 flag_set( 285 flag_set( 315 flag_set( 331 flag_set( 352 flag_set( 371 flag_set( 395 flag_set( 411 flag_set( 422 flag_set( [all …]
|
/external/tensorflow/third_party/toolchains/preconfig/ubuntu16.04/gcc7_manylinux2010-nvcc-cuda10.0/ |
D | cc_toolchain_config.bzl | 11 "flag_set", 268 flag_set( 285 flag_set( 315 flag_set( 331 flag_set( 352 flag_set( 371 flag_set( 395 flag_set( 411 flag_set( 422 flag_set( [all …]
|
/external/tensorflow/third_party/toolchains/preconfig/win/bazel_211/ |
D | windows_cc_toolchain_config.bzl | 26 "flag_set", 282 flag_set( 296 flag_set( 315 flag_set( 342 flag_set( 373 flag_set( 385 flag_set( 395 flag_set( 451 flag_set( 455 flag_set( [all …]
|
/external/tensorflow/third_party/toolchains/preconfig/win/tf_win_08062020/ |
D | windows_cc_toolchain_config.bzl | 26 "flag_set", 282 flag_set( 296 flag_set( 315 flag_set( 342 flag_set( 373 flag_set( 385 flag_set( 395 flag_set( 451 flag_set( 455 flag_set( [all …]
|
/external/tensorflow/third_party/toolchains/preconfig/ubuntu16.04/gcc7_manylinux2010/ |
D | cc_toolchain_config.bzl | 26 "flag_set", 254 flag_set( 268 flag_set( 287 flag_set( 314 flag_set( 339 flag_set( 351 flag_set( 361 flag_set( 417 flag_set( 421 flag_set( [all …]
|
/external/tensorflow/third_party/toolchains/preconfig/ubuntu16.04/clang/ |
D | cc_toolchain_config.bzl | 26 "flag_set", 254 flag_set( 268 flag_set( 287 flag_set( 314 flag_set( 339 flag_set( 351 flag_set( 361 flag_set( 417 flag_set( 421 flag_set( [all …]
|
/external/OpenCL-CTS/test_conformance/SVM/ |
D | test_allocate_shared_buffer.cpp | 18 const cl_mem_flags flag_set[] = { variable 63 int num_flags = sizeof(flag_set)/sizeof(cl_mem_flags); in test_svm_allocate_shared_buffer() 66 …if (((flag_set[i] & CL_MEM_SVM_FINE_GRAIN_BUFFER) != 0 && (caps & CL_DEVICE_SVM_FINE_GRAIN_BUFFER)… in test_svm_allocate_shared_buffer() 67 || ((flag_set[i] & CL_MEM_SVM_ATOMICS) != 0 && (caps & CL_DEVICE_SVM_ATOMICS) == 0)) in test_svm_allocate_shared_buffer() 74 cl_char *pBufData1 = (cl_char*) clSVMAlloc(context, flag_set[i], size, 0); in test_svm_allocate_shared_buffer() 87 if(flag_set[i] & CL_MEM_HOST_READ_ONLY) flags ^= CL_MAP_WRITE; in test_svm_allocate_shared_buffer() 88 if(flag_set[i] & CL_MEM_HOST_WRITE_ONLY) flags ^= CL_MAP_READ; in test_svm_allocate_shared_buffer() 90 if(!(flag_set[i] & CL_MEM_HOST_NO_ACCESS)) in test_svm_allocate_shared_buffer()
|
/external/rust/crates/grpcio-sys/grpc/third_party/toolchains/bazel_0.26.0_rbe_windows/ |
D | cc_toolchain_config.bzl | 26 "flag_set", 255 flag_set( 269 flag_set( 288 flag_set( 315 flag_set( 344 flag_set( 356 flag_set( 366 flag_set( 422 flag_set( 426 flag_set( [all …]
|
/external/tensorflow/third_party/toolchains/embedded/arm-linux/ |
D | cc_config.bzl.tpl | 9 "flag_set", 105 flag_set( 135 flag_set( 171 flag_set( 192 flag_set( 208 flag_set( 234 flag_set( 270 flag_set( 291 flag_set( 307 flag_set( [all …]
|
/external/tensorflow/third_party/toolchains/cpus/arm/ |
D | cc_config.bzl.tpl | 9 "flag_set", 159 flag_set( 189 flag_set( 222 flag_set( 257 flag_set( 269 flag_set( 293 flag_set( 309 flag_set( 335 flag_set( 372 flag_set( [all …]
|
/external/tensorflow/third_party/toolchains/clang6/ |
D | CROSSTOOL.tpl | 208 flag_set { 226 flag_set { 244 flag_set { 262 flag_set { 279 flag_set { 308 flag_set { 329 flag_set { 346 flag_set { 365 flag_set { 383 flag_set { [all …]
|
/external/OpenCL-CTS/test_conformance/basic/ |
D | test_enqueue_map.cpp | 29 const cl_mem_flags flag_set[] = { variable 53 for (int src_flag_id=0; src_flag_id < ARRAY_SIZE(flag_set); src_flag_id++) in test_enqueue_map_buffer() 62 cl_mem_flags flags = flag_set[src_flag_id]; in test_enqueue_map_buffer() 145 for (int src_flag_id=0; src_flag_id < ARRAY_SIZE(flag_set); src_flag_id++) { in test_enqueue_map_image() 153 cl_mem_flags flags = flag_set[src_flag_id]; in test_enqueue_map_image()
|