-
-
Notifications
You must be signed in to change notification settings - Fork 208
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support NVCC better? #797
Comments
Quick comment to ping @jtilly (typo above) and to note that this getter is the only one in that file not qualified as |
Oh, and consequently, this operator should be qualified as |
@Enchufa2 I have tried modifying that getter and operator both as
|
@cdeterman Have you cleaned up before rebuilding and reinstalled correctly? Because I've tried with docker and your package compiles just fine (with warnings, but without error). This is the diff. I can create a pull request if @eddelbuettel agrees. |
Narrow-ish change to one setter / adding one getter as discussed sounds fine to me. Diff looks good. If you are familiar enough with the format an entry in ChangeLog is always appreciated too. |
Fine. I'll prepare a Dockerfile too and append it to the PR, so that you can test it with one command. |
Why would I need a Dockerfile? I tend to just rebuild Rcpp and then use my fancy new parallel rev dep runner to test'em. |
I mean, to test that nvcc does not complain anymore. |
Ah, yes. I had created an nvidia-enabled container the other day (see here) but I have my docker binary and nvidia-docker out of sync. But |
@Enchufa2 you are correct, I overlooked cleaning up my previous build. Sorry for confusion. The changes in the provided commit indeed do address the error. Thanks for all your help everyone. |
Cf email discussion on rcpp-devel in thread titled "NVCC compatibility" started by @cdeterman.
One issue, apparently found first by @jtilly and noted here in his RcppThrust README is that this line need to drop
const
. Can we just add a non-const version too?(Typo fixed. Added New Year's Resolution to only copy addresses and never ever type free hand, cf
fortunes::fortune("dirk can type")
)The text was updated successfully, but these errors were encountered: