Hi All. Basically, all I want to do is figure out how to link this thrust code (compiled with nvcc) from a code that uses an MPI c++ compiler. Here is the code:
thrust/histogram.cu at master * thrust/thrust * GitHub
Basically, I need to be able to invoke dense_histogram and sparse_histogram.
This histogram.cu file has to be compiled with the nvcc compiler (nvcc histogram.cu -c)
This will produce histogram.o
Then, I'd like to have another file, compiled with an MPI compiler be able to call those functions.
I'm at a loss on what I need to move into a header file, how to construct the header file, etc.
Does anyone have any advice? Thanks