Closed andll closed 2 years ago
This is a bug in the codegen, it seems i may have forgotten to add the raw_eq
intrinsic to the intrinsic handler, and that intrinsic is apparently codegenned for... something in that crate. I will try to fix that right now. The second error is intentional, NVVM IR does not support atomic fence instructions because fences on the GPU can be thread block fences, device fences, or system fences. And they do not support ordering or synchronization scopes, therefore its best to just error on them and make users use the cuda_std versions to be more explicit.
should be fixed in 0.2.3, i don't currently plan to support core atomic fences since i'd have to guess their use based on the ordering and scope and that seems too dangerous
Thank you!
I am interested in trying ed25519 signature verification on cuda, and was trying to compile ed25519-dalek crate.
More specifically, for now I just added it as a dependency to gpu/add example to see if there will be any compilation errors.
I had to remove code related to secret key generation(since I am only interested in verification) and zeroize crate since it was causing obvious errors (see https://github.com/andll/ed25519-dalek/commit/132de2d6735117262802845370b098745bf7a68c), but after that I get compiler error that I don't understand / know how to fix
I am also not sure if 'unknown intrinsic' and 'atomic fence is not supported' referring to the same problem or are they different issue.
Problem with those errors is that they don't point to source code that cause them, so for person like me who is not familiar with compiler internals don't even know where to look.
Do you have any advice what are the things in source that can cause this that I can try to remove/change with something else?
Is there a way to pin point specific source code line that cause the issue?