Implement to_cuda function

This commit is contained in:
2024-02-09 19:18:30 +01:00
parent 6645cd31ba
commit 3e6b7dc7e6
4 changed files with 37 additions and 6 deletions

View File

@@ -3,6 +3,8 @@
#include <cuda_runtime.h>
#define IDX2C(i,j,ld) (((j)*(ld))+(i))
// CUDA error checking macro
#define CUDA_CHECK(call) \
do { \