#include <cstddef>
#include <stdexcept>
#include <string_view>
Go to the source code of this file.
|
| coreneuron |
| THIS FILE IS AUTO GENERATED DONT MODIFY IT.
|
|
|
#define | nrn_pragma_stringify(x) #x |
|
#define | nrn_pragma_acc(x) |
|
#define | nrn_pragma_omp(x) |
|
#define | cnrn_target_copyin(...) cnrn_target_copyin(__FILE__, __LINE__, __VA_ARGS__) |
|
#define | cnrn_target_delete(...) cnrn_target_delete(__FILE__, __LINE__, __VA_ARGS__) |
|
#define | cnrn_target_is_present(...) cnrn_target_deviceptr_or_present(__FILE__, __LINE__, false, __VA_ARGS__) |
|
#define | cnrn_target_deviceptr(...) cnrn_target_deviceptr_or_present(__FILE__, __LINE__, true, __VA_ARGS__) |
|
#define | cnrn_target_memcpy_to_device(...) cnrn_target_memcpy_to_device(__FILE__, __LINE__, __VA_ARGS__) |
|
#define | cnrn_target_update_on_device(...) cnrn_target_update_on_device(__FILE__, __LINE__, __VA_ARGS__) |
|
|
void | coreneuron::cnrn_target_copyin_debug (std::string_view file, int line, std::size_t sizeof_T, std::type_info const &typeid_T, void const *h_ptr, std::size_t len, void *d_ptr) |
|
void | coreneuron::cnrn_target_delete_debug (std::string_view file, int line, std::size_t sizeof_T, std::type_info const &typeid_T, void const *h_ptr, std::size_t len) |
|
void | coreneuron::cnrn_target_deviceptr_debug (std::string_view file, int line, std::type_info const &typeid_T, void const *h_ptr, void *d_ptr) |
|
void | coreneuron::cnrn_target_is_present_debug (std::string_view file, int line, std::type_info const &typeid_T, void const *h_ptr, void *d_ptr) |
|
void | coreneuron::cnrn_target_memcpy_to_device_debug (std::string_view file, int line, std::size_t sizeof_T, std::type_info const &typeid_T, void const *h_ptr, std::size_t len, void *d_ptr) |
|
template<typename T > |
T * | coreneuron::cnrn_target_deviceptr_or_present (std::string_view file, int line, bool must_be_present_or_null, const T *h_ptr) |
|
template<typename T > |
T * | coreneuron::cnrn_target_copyin (std::string_view file, int line, const T *h_ptr, std::size_t len=1) |
|
template<typename T > |
void | coreneuron::cnrn_target_delete (std::string_view file, int line, T *h_ptr, std::size_t len=1) |
|
template<typename T > |
void | coreneuron::cnrn_target_memcpy_to_device (std::string_view file, int line, T *d_ptr, const T *h_ptr, std::size_t len=1) |
|
template<typename T > |
void | coreneuron::cnrn_target_update_on_device (std::string_view file, int line, const T *h_ptr, std::size_t len=1) |
|
◆ cnrn_target_copyin
#define cnrn_target_copyin |
( |
|
... | ) |
cnrn_target_copyin(__FILE__, __LINE__, __VA_ARGS__) |
◆ cnrn_target_delete
#define cnrn_target_delete |
( |
|
... | ) |
cnrn_target_delete(__FILE__, __LINE__, __VA_ARGS__) |
◆ cnrn_target_deviceptr
#define cnrn_target_deviceptr |
( |
|
... | ) |
cnrn_target_deviceptr_or_present(__FILE__, __LINE__, true, __VA_ARGS__) |
◆ cnrn_target_is_present
#define cnrn_target_is_present |
( |
|
... | ) |
cnrn_target_deviceptr_or_present(__FILE__, __LINE__, false, __VA_ARGS__) |
◆ cnrn_target_memcpy_to_device
#define cnrn_target_memcpy_to_device |
( |
|
... | ) |
cnrn_target_memcpy_to_device(__FILE__, __LINE__, __VA_ARGS__) |
◆ cnrn_target_update_on_device
#define cnrn_target_update_on_device |
( |
|
... | ) |
cnrn_target_update_on_device(__FILE__, __LINE__, __VA_ARGS__) |
◆ nrn_pragma_acc
#define nrn_pragma_acc |
( |
|
x | ) |
|
◆ nrn_pragma_omp
#define nrn_pragma_omp |
( |
|
x | ) |
|
◆ nrn_pragma_stringify
#define nrn_pragma_stringify |
( |
|
x | ) |
#x |