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

NVVM IR Invalid data layout when building with Cuda 12.0 #175

Open
jorge-ortega opened this issue Mar 22, 2025 · 0 comments
Open

NVVM IR Invalid data layout when building with Cuda 12.0 #175

jorge-ortega opened this issue Mar 22, 2025 · 0 comments

Comments

@jorge-ortega
Copy link
Collaborator

jorge-ortega commented Mar 22, 2025

When using CUDA 12.0, verifying the NVVR IR generated fails with the following error:


  Error: Invalid data layout :
  Error: e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v16:16:16-v32:32:32-v64:64:64-v128:128:128-n16:32:64
  Error: 32-bit: e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-i128:128:128-f32:32:32-f64:64:64-v16:16:16-v32:32:32-v64:64:64-v128:128:128-n16:32:64
  Error: 64-bit: e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-i128:128:128-f32:32:32-f64:64:64-v16:16:16-v32:32:32-v64:64:64-v128:128:128-n16:32:64

The format is depreciated but still works with 12.1 and higher. This might be a bug in the verifier in 12.0 that we can ignore. This would be best fixed by using the supported data layout when using CUDA 12 and up.

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

1 participant