|
MAGMA
1.2.0
MatrixAlgebraonGPUandMulticoreArchitectures
|
Go to the source code of this file.
Macros | |
| #define | min(a, b) (((a)<(b))?(a):(b)) |
| #define | max(a, b) (((a)<(b))?(b):(a)) |
| #define | TESTING_CUDA_INIT() |
| #define | TESTING_CUDA_FINALIZE() |
| #define | TESTING_MALLOC(__ptr, __type, __size) |
| #define | TESTING_HOSTALLOC(__ptr, __type, __size) |
| #define | TESTING_DEVALLOC(__ptr, __type, __size) |
| #define | TESTING_FREE(__ptr) free(__ptr); |
| #define | TESTING_HOSTFREE(__ptr) cudaFreeHost( __ptr ); |
| #define | TESTING_DEVFREE(__ptr) cudaFree( __ptr ); |
| #define max | ( | a, | |
| b | |||
| ) | (((a)<(b))?(b):(a)) |
Definition at line 8 of file testings.h.
| #define min | ( | a, | |
| b | |||
| ) | (((a)<(b))?(a):(b)) |
Definition at line 5 of file testings.h.
| #define TESTING_CUDA_FINALIZE | ( | ) |
Definition at line 29 of file testings.h.
| #define TESTING_CUDA_INIT | ( | ) |
Definition at line 11 of file testings.h.
| #define TESTING_DEVALLOC | ( | __ptr, | |
| __type, | |||
| __size | |||
| ) |
Definition at line 47 of file testings.h.
| #define TESTING_DEVFREE | ( | __ptr | ) | cudaFree( __ptr ); |
Definition at line 60 of file testings.h.
| #define TESTING_FREE | ( | __ptr | ) | free(__ptr); |
Definition at line 54 of file testings.h.
| #define TESTING_HOSTALLOC | ( | __ptr, | |
| __type, | |||
| __size | |||
| ) |
Definition at line 41 of file testings.h.
| #define TESTING_HOSTFREE | ( | __ptr | ) | cudaFreeHost( __ptr ); |
Definition at line 57 of file testings.h.
| #define TESTING_MALLOC | ( | __ptr, | |
| __type, | |||
| __size | |||
| ) |
Definition at line 34 of file testings.h.