Short description
Hi, maintainers, I build taichi and taichi-aot-demo on Apple M1 successfully, but when running the executables (e.g. E3_implicit_fem_headless) it failed, complaining symbol not found, which is related to CUDA.
Details
I build taichi(latest commit in 2022.10.28) with customized options, on Apple M1 (yes, clang11 installed and specified via CXX env var, the customized LLVM10 downloaded and setup):
TI_WITH_CUDA = OFF
TI_WITH_VULKAN = ON
TI_WITH_C_API = ON
And when running executable files in taichi-aot-demo:
cd /Users/zz/work/taichi-aot-demo/build/mac-arm64/headless
./E1_hello_world_headless
dyld[54902]: symbol not found in flat namespace (__ZN6taichi4lang4cuda10CudaDevice14get_alloc_infoENS0_16DeviceAllocationE)
c++filt __ZN6taichi4lang4cuda10CudaDevice14get_alloc_infoENS0_16DeviceAllocationE
taichi::lang::cuda::CudaDevice::get_alloc_info(taichi::lang::DeviceAllocation)
Short description
Hi, maintainers, I build taichi and taichi-aot-demo on Apple M1 successfully, but when running the executables (e.g.
E3_implicit_fem_headless) it failed, complaining symbol not found, which is related to CUDA.Details
I build taichi(latest commit in 2022.10.28) with customized options, on Apple M1 (yes, clang11 installed and specified via
CXXenv var, the customized LLVM10 downloaded and setup):And when running executable files in taichi-aot-demo:
cd /Users/zz/work/taichi-aot-demo/build/mac-arm64/headless ./E1_hello_world_headless