/external/llvm-project/openmp/libomptarget/src/ |
D | api.cpp | 37 EXTERN void *omp_target_alloc(size_t size, int device_num) { in omp_target_alloc() argument 39 device_num, size); in omp_target_alloc() 48 if (device_num == omp_get_initial_device()) { in omp_target_alloc() 54 if (!device_is_ready(device_num)) { in omp_target_alloc() 59 rc = PM->Devices[device_num].allocData(size); in omp_target_alloc() 64 EXTERN void omp_target_free(void *device_ptr, int device_num) { in omp_target_free() argument 66 device_num, DPxPTR(device_ptr)); in omp_target_free() 73 if (device_num == omp_get_initial_device()) { in omp_target_free() 79 if (!device_is_ready(device_num)) { in omp_target_free() 84 PM->Devices[device_num].deleteData(device_ptr); in omp_target_free() [all …]
|
D | device.cpp | 510 bool device_is_ready(int device_num) { in device_is_ready() argument 511 DP("Checking whether device %d is ready.\n", device_num); in device_is_ready() 517 if (DevicesSize <= (size_t)device_num) { in device_is_ready() 518 DP("Device ID %d does not have a matching RTL\n", device_num); in device_is_ready() 523 DeviceTy &Device = PM->Devices[device_num]; in device_is_ready() 525 DP("Is the device %d (local ID %d) initialized? %d\n", device_num, in device_is_ready() 530 DP("Failed to init device %d\n", device_num); in device_is_ready() 534 DP("Device %d is ready to use.\n", device_num); in device_is_ready()
|
D | device.h | 238 extern bool device_is_ready(int device_num);
|
/external/chromium-trace/catapult/devil/devil/utils/ |
D | find_usb_devices.py | 71 def device_num(self): member in USBNode 143 if node.device_num == findnum: 149 def __init__(self, bus_num=0, device_num=0, serial=None, info=None): argument 160 self._device_num = device_num 176 def device_num(self): member in USBDeviceNode 194 logger.info('%s Device %d (%s)', port_chain, self.device_num, self.desc) 230 def device_num(self): member in USBBusNode 285 device_num = int(match.group('dev')) 294 device_num=device_num, 295 info=info_map.get((bus_num, device_num), {'desc': 'NOT AVAILABLE'})) [all …]
|
/external/rust/crates/walkdir/src/ |
D | util.rs | 5 pub fn device_num<P: AsRef<Path>>(path: P) -> io::Result<u64> { in device_num() function 12 pub fn device_num<P: AsRef<Path>>(path: P) -> io::Result<u64> { in device_num() function 20 pub fn device_num<P: AsRef<Path>>(_: P) -> io::Result<u64> { in device_num() function
|
D | lib.rs | 667 let result = util::device_num(&start) in next() 966 let dent_device = util::device_num(dent.path()) in is_same_file_system()
|
/external/llvm-project/openmp/tools/multiplex/ |
D | ompt-multiplex.h | 676 ompt_target_t kind, ompt_scope_endpoint_t endpoint, int device_num, in ompt_multiplex_callback_target() argument 680 kind, endpoint, device_num, ompt_multiplex_get_own_task_data(task_data), in ompt_multiplex_callback_target() 685 kind, endpoint, device_num, in ompt_multiplex_callback_target() 720 int device_num, const char *type, ompt_device_t *device, in ompt_multiplex_callback_device_initialize() argument 724 device_num, type, device, lookup, documentation); in ompt_multiplex_callback_device_initialize() 728 device_num, type, device, lookup, documentation); in ompt_multiplex_callback_device_initialize() 732 static void ompt_multiplex_callback_device_finalize(int device_num) { in ompt_multiplex_callback_device_finalize() argument 734 ompt_multiplex_own_callbacks.ompt_callback_device_finalize(device_num); in ompt_multiplex_callback_device_finalize() 737 ompt_multiplex_client_callbacks.ompt_callback_device_finalize(device_num); in ompt_multiplex_callback_device_finalize() 742 ompt_multiplex_callback_device_load(int device_num, const char *filename, in ompt_multiplex_callback_device_load() argument [all …]
|
/external/llvm-project/openmp/libomptarget/include/ |
D | omptarget.h | 141 void *omp_target_alloc(size_t size, int device_num); 142 void omp_target_free(void *device_ptr, int device_num); 143 int omp_target_is_present(void *ptr, int device_num); 151 size_t device_offset, int device_num); 152 int omp_target_disassociate_ptr(void *host_ptr, int device_num);
|
/external/autotest/client/cros/audio/ |
D | alsa_utils.py | 413 device_num = card_device_search.group(2) 415 logging.debug("Device number is %s", device_num) 416 if card_num is None or device_num is None: 419 (card_num, device_num))
|
/external/llvm-project/openmp/runtime/src/include/ |
D | omp-tools.h.var | 513 int device_num, 519 int device_num, 624 uint64_t *device_num, 940 int device_num, 948 int device_num 952 int device_num, 963 int device_num, 1008 int device_num, 1018 int device_num, 1027 int device_num;
|
D | omp_lib.f90.var | 312 subroutine omp_set_default_device(device_num) bind(c) 314 integer (kind=omp_integer_kind), value :: device_num 352 function omp_pause_resource(kind, device_num) bind(c) 355 integer (kind=omp_integer_kind), value :: device_num
|
D | omp_lib.h.var | 394 subroutine omp_set_default_device(device_num) bind(c) 396 integer (kind=omp_integer_kind), value :: device_num 429 function omp_pause_resource(kind, device_num) bind(c) 432 integer (kind=omp_integer_kind), value :: device_num
|
/external/llvm-project/openmp/runtime/src/ |
D | kmp_ftn_entry.h | 985 void *FTN_STDCALL FTN_TARGET_ALLOC(size_t size, int device_num) { return 0; } in FTN_TARGET_ALLOC() argument 987 void FTN_STDCALL FTN_TARGET_FREE(void *device_ptr, int device_num) {} in FTN_TARGET_FREE() argument 989 int FTN_STDCALL FTN_TARGET_IS_PRESENT(void *ptr, int device_num) { return 0; } in FTN_TARGET_IS_PRESENT() argument 1007 int device_num) { in FTN_TARGET_ASSOCIATE_PTR() argument 1011 int FTN_STDCALL FTN_TARGET_DISASSOCIATE_PTR(void *host_ptr, int device_num) { in FTN_TARGET_DISASSOCIATE_PTR() argument 1327 int FTN_STDCALL FTN_PAUSE_RESOURCE(kmp_pause_status_t kind, int device_num) { in FTN_PAUSE_RESOURCE() argument 1331 if (device_num == FTN_GET_INITIAL_DEVICE()) in FTN_PAUSE_RESOURCE() 1337 return (*fptr)(kind, device_num); in FTN_PAUSE_RESOURCE()
|
D | ompt-general.cpp | 820 OMPT_API_ROUTINE int ompt_get_target_info(uint64_t *device_num, argument
|
/external/llvm-project/clang/test/OpenMP/ |
D | target_device_codegen.cpp | 41 #pragma omp target device(device_num: n) in foo()
|
D | target_device_messages.cpp | 30 …#pragma omp target device (device_num : argc > 0 ? argv[1] : argv[2]) // omp45-error {{use of unde… in main()
|
D | target_enter_data_device_messages.cpp | 27 …#pragma omp target enter data map(to: i) device (device_num: -10u) // expected-error {{use of unde… in main()
|
D | target_update_device_messages.cpp | 24 #pragma omp target update from(i) device (device_num: argc + z) // expected-error {{use of undeclar… in tmain()
|
D | target_ast_print.cpp | 371 #pragma omp target if (target:argc > 0) device(device_num: C) in tmain()
|
/external/llvm-project/mlir/test/Dialect/OpenACC/ |
D | ops.mlir | 612 acc.init device_num(%i64Value : i64) 613 acc.init device_num(%i32Value : i32) 614 acc.init device_num(%idxValue : index) 625 // CHECK: acc.init device_num([[I64VALUE]] : i64) 626 // CHECK: acc.init device_num([[I32VALUE]] : i32) 627 // CHECK: acc.init device_num([[IDXVALUE]] : index) 640 acc.shutdown device_num(%i64Value : i64) 641 acc.shutdown device_num(%i32Value : i32) 642 acc.shutdown device_num(%idxValue : index) 653 // CHECK: acc.shutdown device_num([[I64VALUE]] : i64) [all …]
|
/external/llvm-project/flang/module/ |
D | omp_lib.h | 290 subroutine omp_set_default_device(device_num) bind(c) 292 integer(kind=omp_integer_kind), value :: device_num 335 function omp_pause_resource(kind, device_num) bind(c) 338 integer(kind=omp_integer_kind), value :: device_num
|
/external/arm-trusted-firmware/plat/brcm/board/stingray/include/ |
D | sr_def.h | 604 #define SR_SID_VAL(block_id, subblock_id, device_num) ((block_id << 13) | \ argument 606 (device_num))
|
/external/llvm-project/mlir/include/mlir/Dialect/OpenACC/ |
D | OpenACCOps.td | 415 acc.init device_num(%dev1 : i32) 425 ( `device_num` `(` $deviceNumOperand^ `:` type($deviceNumOperand) `)` )? 445 acc.shutdown device_num(%dev1 : i32) 455 ( `device_num` `(` $deviceNumOperand^ `:` type($deviceNumOperand) `)` )?
|
/external/llvm-project/clang/include/clang/Basic/ |
D | OpenMPKinds.def | 77 OPENMP_DEVICE_MODIFIER(device_num)
|
/external/llvm-project/llvm/include/llvm/Frontend/OpenACC/ |
D | ACC.td | 108 def ACCC_DeviceNum : Clause<"device_num"> {
|