i'm trying have magma backend eigen in same way support mkl. while doing bump error above. relevant snippets below:
template <> /*error in line >>>>>*/ inline void assign_scalar_eig2magma<magmadoublecomplex,dcomplex>(magmadoublecomplex& magmascalar, const dcomplex& eigenscalar) { magmascalar.x=eigenscalar.real(); magmascalar.y=eigenscalar.imag(); } and magmadoublecomplex defined in magma_types.h:
// ======================================== // define types specific implementation (cuda, opencl, mic) // define macros deal complex numbers #if have_cublas #include <cublas.h> typedef cudastream_t magma_queue_t; typedef cudaevent_t magma_event_t; typedef int magma_device_t; typedef cudoublecomplex magmadoublecomplex; typedef cufloatcomplex magmafloatcomplex; as far can see magmadoublecomplex declared doesn't seem issue here ...
update: indeed mistake, here template definition "mkl" , should "magma".
template<typename magmatype, typename eigentype> static inline void assign_scalar_eig2mkl(magmatype& magmascalar, const eigentype& eigenscalar) { magmascalar=eigenscalar; }
Comments
Post a Comment