-
Notifications
You must be signed in to change notification settings - Fork 190
Open
Description
Overview
I attempted to compile the vecadd
example found in the repository and got the error "Invalid data layout"
Malformed NVVM IR program rejected by libnvvm, dumping verifier log:
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
Environment
NVIDIA Jetson Orin
Ubuntu 22.04.4 LTS
LLVM 7.1.0
cargo 1.89.0-nightly (2251525ae 2025-06-16)
- HEAD 3b646e6
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2023 NVIDIA Corporation
Built on Tue_Aug_15_22:08:11_PDT_2023
Cuda compilation tools, release 12.2, V12.2.140
Build cuda_12.2.r12.2/compiler.33191640_0
Attachments
Metadata
Metadata
Assignees
Labels
No labels