Commit fd2bf5ef authored by Henning Fehrmann's avatar Henning Fehrmann Committed by Henning Fehrmann
Browse files

added some FFTW handling

parent 01429d6a
......@@ -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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment