-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Closed
Labels
potential bugSomething that looks like a bug but not yet confirmedSomething that looks like a bug but not yet confirmed
Description
Describe the bug
Build from source on NVIDIA AGX Xavier TX2 (ARM64)
Ubuntu Ubuntu 18.04.6 LTS
CUDA 10.2
Python 3.8.15
cmake 3.20.5
CPU version of Jetson AGX Xavier is aarch64:
~$ uname -a
Linux surgicalai-xavier 4.9.201-tegra #1 SMP PREEMPT Fri Feb 19 08:42:04 PST 2021 aarch64 aarch64 aarch64 GNU/Linux
Error Log
when I followed https://docs.taichi-lang.org/docs/dev_install and this step errored:
Build Taichi from source
python3 setup.py develop --user
log:
[447/620] cd /home/build/taichi/taichi...+17 -D ARCH_cuda -I /home/build/taichi
FAILED: taichi/runtime/llvm/runtime_module/CMakeFiles/generate_llvm_runtime_cuda
cd /home/build/taichi/taichi/runtime/llvm/runtime_module && /usr/bin/clang++-10 -c runtime.cpp -o runtime_cuda.bc -fno-exceptions -emit-llvm -std=c++17 -D ARCH_cuda -I /home/build/taichi
runtime.cpp:1121:23: warning: value size does not match register size specified by the constraint and modifier [-Wasm-operand-widths]
: "=r"(ret)
^
runtime.cpp:1120:37: note: use constraint modifier "w"
asm volatile("match.all.sync.b32 %0, %1, %2;"
^~
%w0
runtime.cpp:1122:22: warning: value size does not match register size specified by the constraint and modifier [-Wasm-operand-widths]
: "r"(value), "r"(mask));
^
runtime.cpp:1120:41: note: use constraint modifier "w"
asm volatile("match.all.sync.b32 %0, %1, %2;"
^~
%w1
runtime.cpp:1122:34: warning: value size does not match register size specified by the constraint and modifier [-Wasm-operand-widths]
: "r"(value), "r"(mask));
^
runtime.cpp:1120:45: note: use constraint modifier "w"
asm volatile("match.all.sync.b32 %0, %1, %2;"
^~
%w2
runtime.cpp:1134:18: error: invalid input constraint 'l' in asm
: "l"(value), "r"(mask));
^
runtime.cpp:1144:44: warning: value size does not match register size specified by the constraint and modifier [-Wasm-operand-widths]
asm volatile("activemask.b32 %0;" : "=r"(mask));
^
runtime.cpp:1144:32: note: use constraint modifier "w"
asm volatile("activemask.b32 %0;" : "=r"(mask));
^~
%w0
4 warnings and 1 error generated.
cmake arguments:
TAICHI_CMAKE_ARGS="-DTI_WITH_CUDA:BOOL=ON -DTI_WITH_LLVM:BOOL=ON -DTI_WITH_C_API:BOOL=ON "
and this command triggered error with same output:
cd /home/build/taichi/taichi/runtime/llvm/runtime_module && /usr/bin/clang++-10 -c runtime.cpp -o runtime_cuda.bc -fno-exceptions -emit-llvm -std=c++17 -D ARCH_cuda -I /home/build/taichi
Metadata
Metadata
Assignees
Labels
potential bugSomething that looks like a bug but not yet confirmedSomething that looks like a bug but not yet confirmed
Type
Projects
Status
Done