This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Using Eigen with CUDA

Tags: None
(comma "," separated)
krishnasubramanian
Registered Member
Posts
1
Karma
0

Using Eigen with CUDA

Wed Sep 11, 2019 6:36 pm
First of all , i am relatively new to Eigen. I am not sure how the backend of eigen is implemented.

I am trying to speed up computations by making eigen use the gpu i have to get better performance (?). Now , browsing through the forum , i am confused on how to go about this. All the functions i use are in the Eigen library and as such i am not using/defining anything new. So , if i want Eigen to use the gpu when it executes my code instead of the GPU , can i simply use the #define EIGEN_USE_GPU macro? Will this make Eigen automatically switch it's implementation from the cpu to the gpu? Will functions such as Co-eff wise operations now be implemented in my Nvidia GPU instead of the default CPU ?

Thanks for your help
Best
K


Bookmarks



Who is online

Registered users: Bing [Bot], Evergrowing, Google [Bot], rblackwell