Skip to content
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

Kernel gets wrong argument values #42

Closed
codecircuit opened this issue Feb 14, 2018 · 1 comment
Closed

Kernel gets wrong argument values #42

codecircuit opened this issue Feb 14, 2018 · 1 comment

Comments

@codecircuit
Copy link
Contributor

codecircuit commented Feb 14, 2018

Executing the example code in #40 results with the recent commits now into the following output:

Launching non-cooperative
a = 1, b = 2, c = 0
Launching cooperative
a = 3, b = -490680, c = 0

My environment:

  • Cuda compilation tools, release 9.0, V9.0.176
  • gcc 5.1.0 or gcc 6.3.0

I compiled with:

  • nvcc -std=c++11 -I cuda-api-wrappers/src test.cu -o test
  • nvcc -std=c++14 -I cuda-api-wrappers/src test.cu -o test
@eyalroz
Copy link
Owner

eyalroz commented Feb 14, 2018

Whoops, commit typo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants