monolish
0.17.3-dev.16
MONOlithic LInear equation Solvers for Highly-parallel architecture
|
send, recv, and others.. More...
Functions | |
template<typename T > | |
void | monolish::util::device_free (T &x) |
free data of GPU More... | |
template<typename T , typename... Types> | |
void | monolish::util::device_free (T &x, Types &...args) |
free data of GPU More... | |
int | monolish::util::get_default_device () |
get default device number More... | |
int | monolish::util::get_num_devices () |
get the number of devices More... | |
template<typename T > | |
void | monolish::util::recv (T &x) |
recv. and free data from GPU More... | |
template<typename T , typename... Types> | |
void | monolish::util::recv (T &x, Types &...args) |
recv. and free data to GPU More... | |
template<typename T > | |
void | monolish::util::send (T &x) |
send data to GPU More... | |
template<typename T , typename... Types> | |
void | monolish::util::send (T &x, Types &...args) |
send data to GPU More... | |
bool | monolish::util::set_default_device (size_t device_num) |
set default device number More... | |
send, recv, and others..
void monolish::util::device_free | ( | T & | x | ) |
free data of GPU
Definition at line 1183 of file monolish_common.hpp.
void monolish::util::device_free | ( | T & | x, |
Types &... | args | ||
) |
free data of GPU
Definition at line 1190 of file monolish_common.hpp.
int monolish::util::get_default_device | ( | ) |
get default device number
int monolish::util::get_num_devices | ( | ) |
get the number of devices
void monolish::util::recv | ( | T & | x | ) |
recv. and free data from GPU
Definition at line 1166 of file monolish_common.hpp.
void monolish::util::recv | ( | T & | x, |
Types &... | args | ||
) |
recv. and free data to GPU
Definition at line 1172 of file monolish_common.hpp.
void monolish::util::send | ( | T & | x | ) |
send data to GPU
Definition at line 1150 of file monolish_common.hpp.
void monolish::util::send | ( | T & | x, |
Types &... | args | ||
) |
send data to GPU
Definition at line 1156 of file monolish_common.hpp.
bool monolish::util::set_default_device | ( | size_t | device_num | ) |
set default device number