Home
last modified time | relevance | path

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

/external/llvm-project/openmp/libomptarget/src/
Dapi.cpp64 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()
68 if (!device_ptr) { in omp_target_free()
74 free(device_ptr); in omp_target_free()
84 PM->Devices[device_num].deleteData(device_ptr); in omp_target_free()
245 EXTERN int omp_target_associate_ptr(void *host_ptr, void *device_ptr, in omp_target_associate_ptr() argument
249 DPxPTR(host_ptr), DPxPTR(device_ptr), size, device_offset, device_num); in omp_target_associate_ptr()
251 if (!host_ptr || !device_ptr || size <= 0) { in omp_target_associate_ptr()
267 void *device_addr = (void *)((uint64_t)device_ptr + (uint64_t)device_offset); in omp_target_associate_ptr()
/external/tensorflow/tensorflow/core/common_runtime/device/
Ddevice_mem_allocator.h65 se::DeviceMemoryBase device_ptr(ptr); in Free()
66 stream_exec_->Deallocate(&device_ptr); in Free()
/external/llvm-project/openmp/libomptarget/include/
Domptarget.h142 void omp_target_free(void *device_ptr, int device_num);
150 int omp_target_associate_ptr(void *host_ptr, void *device_ptr, size_t size,
/external/tensorflow/tensorflow/compiler/xla/pjrt/
Dpjrt_client.h245 void* device_ptr, const Shape& shape, PjRtDevice* device,
Dpjrt_stream_executor_client.h201 void* device_ptr, const Shape& shape, PjRtDevice* device,
Dpjrt_stream_executor_client.cc959 void* device_ptr, const Shape& shape, PjRtDevice* device, in CreateViewOfDeviceBuffer() argument
961 se::DeviceMemoryBase buffer(device_ptr, ShapeUtil::ByteSizeOf(shape)); in CreateViewOfDeviceBuffer()
/external/llvm-project/openmp/runtime/src/
Dkmp_ftn_entry.h987 void FTN_STDCALL FTN_TARGET_FREE(void *device_ptr, int device_num) {} in FTN_TARGET_FREE() argument
1005 int FTN_STDCALL FTN_TARGET_ASSOCIATE_PTR(void *host_ptr, void *device_ptr, in FTN_TARGET_ASSOCIATE_PTR() argument