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

.ptx is fail #34

Open
xuxilei opened this issue Dec 22, 2016 · 4 comments
Open

.ptx is fail #34

xuxilei opened this issue Dec 22, 2016 · 4 comments

Comments

@xuxilei
Copy link

xuxilei commented Dec 22, 2016

[root@localhost resources]# ptxas GpuEnablerExamples.ptx

ptxas fatal : SM version specified by .target is higher than default SM version assumed

@yiskylee
Copy link

Why do you want to generate assembly code?

@xuxilei
Copy link
Author

xuxilei commented Dec 23, 2016

make
file: GPUEnabler-master\examples\src\main\resources\Makefile

@yiskylee
Copy link

You have a GPU that has a lower compute capability than that specified in the .ptx file. Try building the .cu file to .ptx using your GPU instead of directly using the .ptx provided.

@xuxilei
Copy link
Author

xuxilei commented Dec 30, 2016

but as I run:
./bin/run-example GpuEnablerExample
./bin/run-example SparkGPULR
It is ok
why

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