nullsatz/gputools

NVRTC - where do I put inst/cuda/kendall.cu?

Closed this issue · 1 comments

The latest 1.1 version of GpuTools uses the nvrtc for kendall.cu. Added to the source code distribution is:

inst/cuda/kendall.cu

My question is, if installing gputools completely manually (long story), where do I need to place this file once I have installed the package into R? So my /library/gputools/ directory looks like this:

gputools/DESCRIPTION
gputools/INDEX
gputools/Meta\Rd.rds
gputools/Meta\hsearch.rds
gputools/Meta\links.rds
gputools/Meta\nsInfo.rds
gputools/Meta\package.rds
gputools/NAMESPACE
gputools/NEWS
gputools/R\gputools
gputools/R\gputools.rdb
gputools/R\gputools.rdx
gputools/help\AnIndex
gputools/help\aliases.rds
gputools/help\gputools.rdb
gputools/help\gputools.rdx
gputools/help\paths.rds
gputools/html\00Index.html
gputools/html\R.css
gputools/libs\x64\gputools.so

Within this structure, where do I need to place the "inst/cuda/kendall.cu" directories such that the nvrtc finds them during the nvrtc compile process? Or do I place these directories somewhere else in my linux os?

Apologies, but I have figured it out, it goes into library/gputools/cuda/kendall.cu. Having it in the inst/ directory tells the R install process to place it into the gputools root directory. Confirmed working now.