Home
last modified time | relevance | path

Searched refs:device_ptr (Results 1 – 4 of 4) sorted by relevance

/llvm-project-15.0.7/openmp/libomptarget/test/api/
H A Domp_device_memory.c10 int *device_ptr = in main() local
13 #pragma omp target teams distribute parallel for is_device_ptr(device_ptr) in main()
15 device_ptr[i] = 1; in main()
19 #pragma omp target reduction(+ : sum) is_device_ptr(device_ptr) in main()
21 sum += device_ptr[i]; in main()
27 omp_free(device_ptr, llvm_omp_target_device_mem_alloc); in main()
/llvm-project-15.0.7/openmp/runtime/src/include/
H A Domp_lib.f90.var577 subroutine omp_target_free(device_ptr, device_num) bind(c)
579 type(c_ptr), value :: device_ptr
638 function omp_target_associate_ptr(host_ptr, device_ptr, size, &
642 type(c_ptr), value :: host_ptr, device_ptr
H A Domp_lib.h.var671 subroutine omp_target_free(device_ptr, device_num) bind(c)
673 type(c_ptr), value :: device_ptr
735 …function omp_target_associate_ptr(host_ptr, device_ptr, size, …
739 type(c_ptr), value :: host_ptr, device_ptr
/llvm-project-15.0.7/openmp/runtime/src/
H A Dkmp_ftn_entry.h1071 void FTN_STDCALL FTN_TARGET_FREE(void *device_ptr, int device_num) {} in FTN_TARGET_FREE() argument
1089 int FTN_STDCALL FTN_TARGET_ASSOCIATE_PTR(void *host_ptr, void *device_ptr, in FTN_TARGET_ASSOCIATE_PTR() argument