Skip to content
Snippets Groups Projects
Commit fd2bf5ef authored by Henning Fehrmann's avatar Henning Fehrmann Committed by Henning Fehrmann
Browse files

added some FFTW handling

parent 01429d6a
No related branches found
No related tags found
No related merge requests found
......@@ -32,6 +32,8 @@
#define __PREFIX(c) hip##c
#define __CREATE_HANDLE(h) rocblas_create_handle(h)
#define __DESTROY_HANDLE(h) rocblas_destroy_handle(h)
#define __DESTROY_PLAN(p) rocfft_plan_destroy(p)
#define __FFTW_PLAN rocfft_plan
#endif
#ifdef CUDA
......@@ -49,4 +51,6 @@
#define __PREFIX(c) cuda##c
#define __CREATE_HANDLE(h) cublasCreate(h)
#define __DESTROY_HANDLE(h) cublasDestroy(h)
#define __DESTROY_PLAN(p) cufftDestroy(p)
#define __FFTW_PLAN cufftHandle
#endif
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment