Home
last modified time | relevance | path

Searched refs:omp_get_initial_device (Results 1 – 19 of 19) sorted by relevance

/llvm-project-15.0.7/openmp/libomptarget/src/
H A Dapi.cpp35 int HostDevice = omp_get_initial_device(); in omp_get_device_num()
42 EXTERN int omp_get_initial_device(void) { in omp_get_initial_device() function
78 if (DeviceNum == omp_get_initial_device()) { in omp_target_free()
103 if (DeviceNum == omp_get_initial_device()) { in omp_target_is_present()
159 if (SrcDevice != omp_get_initial_device() && !deviceIsReady(SrcDevice)) { in omp_target_memcpy()
173 if (SrcDevice == omp_get_initial_device() && in omp_target_memcpy()
174 DstDevice == omp_get_initial_device()) { in omp_target_memcpy()
179 } else if (SrcDevice == omp_get_initial_device()) { in omp_target_memcpy()
184 } else if (DstDevice == omp_get_initial_device()) { in omp_target_memcpy()
291 if (DeviceNum == omp_get_initial_device()) { in omp_target_associate_ptr()
[all …]
H A Dexports35 omp_get_initial_device;
H A Domptarget.cpp304 if (DeviceID == omp_get_initial_device()) { in checkDeviceAndCtors()
352 if (DeviceNum == omp_get_initial_device()) { in targetAllocExplicit()
/llvm-project-15.0.7/openmp/libomptarget/test/unified_shared_memory/
H A Dapi.c42 printf("Initial device: %d\n", omp_get_initial_device()); in main()
69 omp_get_initial_device()); in main()
71 omp_get_initial_device()); in main()
81 omp_target_memcpy(pA, d_A, N * sizeof(int), 0, 0, omp_get_initial_device(), in main()
/llvm-project-15.0.7/openmp/libomptarget/test/offloading/
H A Dmandatory_but_no_devices.c53 #pragma omp DIR device(omp_get_initial_device()) in main()
H A Dhost_as_target.c28 int DevInit = omp_get_initial_device(); in main()
/llvm-project-15.0.7/openmp/libomptarget/test/api/
H A Domp_host_pinned_memory.c13 const int host = omp_get_initial_device(); in main()
/llvm-project-15.0.7/openmp/runtime/test/api/
H A Domp_pause_resource.c14 my_dev = omp_get_initial_device(); in test_omp_pause_resource()
/llvm-project-15.0.7/flang/module/
H A Domp_lib.h325 function omp_get_initial_device() bind(c)
327 integer(kind=omp_integer_kind) :: omp_get_initial_device
328 end function omp_get_initial_device
/llvm-project-15.0.7/openmp/runtime/src/
H A Dompt-general.cpp463 extern "C" int omp_get_initial_device(void);
481 ompt_fn_lookup, omp_get_initial_device(),
H A Dkmp_ftn_os.h112 #define FTN_GET_INITIAL_DEVICE omp_get_initial_device
H A Ddllexports510 omp_get_initial_device 882
/llvm-project-15.0.7/openmp/libomptarget/DeviceRTL/include/
H A DInterface.h135 int omp_get_initial_device(void);
/llvm-project-15.0.7/openmp/libomptarget/include/
H A Domptarget.h227 int omp_get_initial_device(void);
/llvm-project-15.0.7/openmp/runtime/src/include/
H A Domp_lib.h.var455 function omp_get_initial_device() bind(c)
457 integer (kind=omp_integer_kind) omp_get_initial_device
458 end function omp_get_initial_device
1000 !DIR$ ATTRIBUTES OFFLOAD:MIC :: omp_get_initial_device
1083 !$omp declare target(omp_get_initial_device )
H A Domp_lib.f90.var361 function omp_get_initial_device() bind(c)
363 integer (kind=omp_integer_kind) omp_get_initial_device
364 end function omp_get_initial_device
H A Domp.h.var141 extern int __KAI_KMPC_CONVENTION omp_get_initial_device (void);
/llvm-project-15.0.7/openmp/libomptarget/DeviceRTL/src/
H A DState.cpp392 int omp_get_initial_device(void) { return -1; } in omp_get_initial_device() function
/llvm-project-15.0.7/llvm/test/Transforms/OpenMP/
H A Dadd_attributes.ll173 %call25 = call i32 @omp_get_initial_device()
399 declare dso_local i32 @omp_get_initial_device()
807 ; CHECK: declare dso_local i32 @omp_get_initial_device()
1347 ; OPTIMISTIC: declare dso_local i32 @omp_get_initial_device()