Loading...
Searching...
No Matches
cuda-utils.h
Go to the documentation of this file.
1// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE
2
3#ifndef AWKWARD_CUDA_UTILS_H
4#define AWKWARD_CUDA_UTILS_H
5
6#include "awkward/common.h"
7
8extern "C" {
10 int64_t* device_num,
11 void* ptr);
12
14 char* name,
15 void* ptr);
16
18 void* to_ptr,
19 void* from_ptr,
20 int64_t bytelength);
21
23 void* to_ptr,
24 void* from_ptr,
25 int64_t bytelength);
26
27}
28
29#endif //AWKWARD_CUDA_UTILS_H
#define ERROR
Definition: common.h:28
#define EXPORT_SYMBOL
Definition: common.h:25
EXPORT_SYMBOL ERROR awkward_cuda_host_to_device(void *to_ptr, void *from_ptr, int64_t bytelength)
EXPORT_SYMBOL ERROR awkward_cuda_device_to_host(void *to_ptr, void *from_ptr, int64_t bytelength)
EXPORT_SYMBOL ERROR awkward_cuda_ptr_device_num(int64_t *device_num, void *ptr)
EXPORT_SYMBOL ERROR awkward_cuda_ptr_device_name(char *name, void *ptr)