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

hashencoder.cu error with some specific gpu models #22

Closed
gukai330 opened this issue Mar 7, 2022 · 5 comments
Closed

hashencoder.cu error with some specific gpu models #22

gukai330 opened this issue Mar 7, 2022 · 5 comments

Comments

@gukai330
Copy link

gukai330 commented Mar 7, 2022

Thank you for your work!

Had this issue when I am running your code on the server with different GPU models, the script failed when running with some specific GPU models (like tesla P100,), but worked fine with some other GPU models(like tesla v100)

hashencoder.cu(25): error: no instance of overloaded function "atomicAdd" matches the argument list
argument types are: (__half *, c10::Half)

ninja: build stopped: subcommand failed.

cuda version: 11.3.1
cudnn version: 8.2.0.53

@gukai330
Copy link
Author

gukai330 commented Mar 7, 2022

I find the issue in instant ngp #52),
I am trying with the solution

@ashawkey
Copy link
Owner

ashawkey commented Mar 7, 2022

Currently --ff only supports GPU with arch >= 70, so P100 (arch == 60) is unable to compile hashencoder and ffmlp.
However, you can still use --tcnn backend in P100, although the speed will be slower compared to V100.

@ashawkey
Copy link
Owner

ashawkey commented Mar 7, 2022

I'm not sure if it is related to windows, but this error message does come from low GPU arch.

@ashawkey
Copy link
Owner

ashawkey commented Mar 7, 2022

You can check the CUDA programming guide here:
The 16-bit __half floating-point version of atomicAdd() is only supported by devices of compute capability 7.x and higher.

@gukai330 gukai330 closed this as completed Mar 7, 2022
@gukai330
Copy link
Author

gukai330 commented Mar 7, 2022

I'm not sure if it is related to windows, but this error message does come from low GPU arch.

thank you for your explanation, I misunderstand the error message. this should have nothing to do with windows

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