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

no kernel image is available for execution on the device #23

Open
smallflyingpig opened this issue Jan 4, 2018 · 2 comments
Open

no kernel image is available for execution on the device #23

smallflyingpig opened this issue Jan 4, 2018 · 2 comments

Comments

@smallflyingpig
Copy link

when I run
python lstm_combo.py models/lstm_combo_1layer_mnist.pbtxt datasets/bouncing_mnist.pbtxt datasets/bouncing_mnist_valid.pbtxt 1
I got this errror
"no kernel image is available for execution on the device"
my environment is
ubuntu16.10/1080ti/cuda9.1/anaconda2/python2.7

@smallflyingpig
Copy link
Author

the same error message occur when the compute capacity of GPU is lower than 3.0, but my GPU(1080ti) is 3.5

@bawiz
Copy link

bawiz commented Apr 11, 2019

I had the same problem. Solved it by looking up my GPU card and the recommended SM and Compute number here https://arnon.dk/matching-sm-architectures-arch-and-gencode-for-various-nvidia-cards/
I had to add -gencode=arch=compute_75,code=sm_75 \ to the make file

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