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

Don't know how to lower this texture use case #799

Open
pvelesko opened this issue Mar 11, 2024 · 0 comments
Open

Don't know how to lower this texture use case #799

pvelesko opened this issue Mar 11, 2024 · 0 comments
Milestone

Comments

@pvelesko
Copy link
Collaborator

pvelesko commented Mar 11, 2024

#796

[build] FAILED: catch/catch_tests/unit/memory/CMakeFiles/MemoryTest2.dir/hipMallocArray.cc.o 
[build] /space/pvelesko/chipStar/hip-tests-update/build/bin/hipcc  -I/space/pvelesko/chipStar/hip-tests-update/CHIP -I/space/pvelesko/chipStar/hip-tests-update/PUBLIC -I/usr/include/level_zero -I/space/pvelesko/chipStar/hip-tests-update/hip-tests/catch/external/Catch2 -I/space/pvelesko/chipStar/hip-tests-update/hip-tests/catch/./include -I/space/pvelesko/chipStar/hip-tests-update/hip-tests/catch/./kernels -I/space/pvelesko/chipStar/hip-tests-update/build/include -I/space/pvelesko/chipStar/hip-tests-update/hip-tests/catch/external/picojson -I/space/pvelesko/chipStar/hip-tests-update/build/catch -Wno-duplicate-decl-specifier -Wno-tautological-constant-compare  -Wno-c++20-extensions -Wno-unused-result -Wno-delete-abstract-non-virtual-dtor -Wno-deprecated-declarations -Wunused-command-line-argument --std=c++17 -g -fPIE -Wno-format-extra-args -mf16c -Wall -O1 -std=c++17 -MD -MT catch/catch_tests/unit/memory/CMakeFiles/MemoryTest2.dir/hipMallocArray.cc.o -MF catch/catch_tests/unit/memory/CMakeFiles/MemoryTest2.dir/hipMallocArray.cc.o.d -o catch/catch_tests/unit/memory/CMakeFiles/MemoryTest2.dir/hipMallocArray.cc.o -c /space/pvelesko/chipStar/hip-tests-update/hip-tests/catch/unit/memory/hipMallocArray.cc
[build] Don't know how to lower this texture use case.
[build] UNREACHABLE executed at /space/pvelesko/chipStar/hip-tests-update/llvm_passes/HipTextureLowering.cpp:404!
[build] PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
[build] Stack dump:
[build] 0.	Program arguments: /space/pvelesko/install/llvm/17.0/bin/opt /tmp/hipMallocArray-generic-a2fe2f-link-6cf1e8.bc -load-pass-plugin /space/pvelesko/chipStar/hip-tests-update/build/lib/libLLVMHipSpvPasses.so -passes=hip-post-link-passes -o /tmp/hipMallocArray-generic-a2fe2f-lower-5debf2.bc
[build]  #0 0x00007f2f012747e2 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/space/pvelesko/install/llvm/17.0/lib/libLLVM-17rc.so+0x8747e2)
[build]  #1 0x00007f2f01271f1f llvm::sys::RunSignalHandlers() (/space/pvelesko/install/llvm/17.0/lib/libLLVM-17rc.so+0x871f1f)
[build]  #2 0x00007f2f01272065 SignalHandler(int) Signals.cpp:0:0
[build]  #3 0x00007f2f00242520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
[build]  #4 0x00007f2f002969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
[build]  #5 0x00007f2f002969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
[build]  #6 0x00007f2f002969fc pthread_kill ./nptl/pthread_kill.c:89:10
[build]  #7 0x00007f2f00242476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
[build]  #8 0x00007f2f002287f3 abort ./stdlib/abort.c:81:7
[build]  #9 0x00007f2f0118d53e (/space/pvelesko/install/llvm/17.0/lib/libLLVM-17rc.so+0x78d53e)
[build] #10 0x00007f2f0087e666 std::__new_allocator<char>::allocate(unsigned long, void const*) /usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/bits/new_allocator.h:126:6
[build] #11 0x00007f2f0087e666 std::allocator_traits<std::allocator<char>>::allocate(std::allocator<char>&, unsigned long) /usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/bits/alloc_traits.h:464:20
[build] #12 0x00007f2f0087e666 std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>::_M_create(unsigned long&, unsigned long) /usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/bits/basic_string.tcc:155:14
[build] #13 0x00007f2f0087e666 void std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>::_M_construct<char const*>(char const*, char const*, std::forward_iterator_tag) /usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/bits/basic_string.tcc:225:14
[build] #14 0x00007f2f0087e666 std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>::basic_string(char const*, unsigned long, std::allocator<char> const&) /usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/bits/basic_string.h:628:2
[build] #15 0x00007f2f0087e666 llvm::StringRef::str[abi:cxx11]() const /space/pvelesko/install/llvm/17.0/include/llvm/ADT/StringRef.h:224:14
[build] #16 0x00007f2f0087e666 (anonymous namespace)::lowerTextureObjectUses(llvm::Function*, std::vector<(anonymous namespace)::TextureUseGroup, std::allocator<(anonymous namespace)::TextureUseGroup>> const&) /space/pvelesko/chipStar/hip-tests-update/llvm_passes/HipTextureLowering.cpp:462:39
[build] #17 0x00007f2f0087e666 (anonymous namespace)::lowerTextureFunctions(llvm::Module&) /space/pvelesko/chipStar/hip-tests-update/llvm_passes/HipTextureLowering.cpp:505:5
[build] #18 0x00007f2f0087bac0 HipTextureLoweringPass::run(llvm::Module&, llvm::AnalysisManager<llvm::Module>&) /space/pvelesko/chipStar/hip-tests-update/llvm_passes/HipTextureLowering.cpp:516:10
[build] #19 0x00007f2f0086b9fd llvm::detail::PassModel<llvm::Module, HipTextureLoweringPass, llvm::PreservedAnalyses, llvm::AnalysisManager<llvm::Module>>::run(llvm::Module&, llvm::AnalysisManager<llvm::Module>&) /space/pvelesko/install/llvm/17.0/include/llvm/IR/PassManagerInternal.h:89:5
[build] #20 0x00007f2f014a18b1 llvm::PassManager<llvm::Module, llvm::AnalysisManager<llvm::Module>>::run(llvm::Module&, llvm::AnalysisManager<llvm::Module>&) (/space/pvelesko/install/llvm/17.0/lib/libLLVM-17rc.so+0xaa18b1)
[build] #21 0x00005574b3e42ab5 llvm::runPassPipeline(llvm::StringRef, llvm::Module&, llvm::TargetMachine*, llvm::TargetLibraryInfoImpl*, llvm::ToolOutputFile*, llvm::ToolOutputFile*, llvm::ToolOutputFile*, llvm::StringRef, llvm::ArrayRef<llvm::PassPlugin>, llvm::opt_tool::OutputKind, llvm::opt_tool::VerifierKind, bool, bool, bool, bool, bool, bool, bool) (/space/pvelesko/install/llvm/17.0/bin/opt+0x25ab5)
[build] #22 0x00005574b3e35536 main (/space/pvelesko/install/llvm/17.0/bin/opt+0x18536)
[build] #23 0x00007f2f00229d90 __libc_start_call_main ./csu/../sysdeps/nptl/libc_start_call_main.h:58:16
[build] #24 0x00007f2f00229e40 call_init ./csu/../csu/libc-start.c:128:20
[build] #25 0x00007f2f00229e40 __libc_start_main ./csu/../csu/libc-start.c:379:5
[build] #26 0x00005574b3e36195 _start (/space/pvelesko/install/llvm/17.0/bin/opt+0x19195)
[build] clang++: error: unable to execute command: Aborted
[build] clang++: error: hipspv-link command failed due to signal (use -v to see invocation)
[build] clang version 17.0.0 (https://github.com/CHIP-SPV/llvm-project.git f11f439e3555a82754daa98dc1679ee07dc00403)
[build] Target: x86_64-unknown-linux-gnu
[build] Thread model: posix
[build] InstalledDir: /space/pvelesko/install/llvm/17.0/bin
[build] clang++: note: diagnostic msg: Error generating preprocessed source(s).
[build] 
[build] failed to execute:/space/pvelesko/install/llvm/17.0/bin/clang++ -include /space/pvelesko/chipStar/hip-tests-update/include/hip/spirv_fixups.h -I//space/pvelesko/chipStar/hip-tests-update/build/include -I/space/pvelesko/chipStar/hip-tests-update/CHIP -I/space/pvelesko/chipStar/hip-tests-update/PUBLIC -I/usr/include/level_zero -I/space/pvelesko/chipStar/hip-tests-update/hip-tests/catch/external/Catch2 -I/space/pvelesko/chipStar/hip-tests-update/hip-tests/catch/./include -I/space/pvelesko/chipStar/hip-tests-update/hip-tests/catch/./kernels -I/space/pvelesko/chipStar/hip-tests-update/build/include -I/space/pvelesko/chipStar/hip-tests-update/hip-tests/catch/external/picojson -I/space/pvelesko/chipStar/hip-tests-update/build/catch -Wno-duplicate-decl-specifier -Wno-tautological-constant-compare -Wno-c++20-extensions -Wno-unused-result -Wno-delete-abstract-non-virtual-dtor -Wno-deprecated-declarations -Wunused-command-line-argument --std=c++17 -g -fPIE -Wno-format-extra-args -mf16c -Wall -O1 -std=c++17 -MD -c -x hip /space/pvelesko/chipStar/hip-tests-update/hip-tests/catch/unit/memory/hipMallocArray.cc -D__HIP_PLATFORM_SPIRV__= --offload=spirv64 -nohipwrapperinc --hip-path=/space/pvelesko/chipStar/hip-tests-update/build --target=x86_64-unknown-linux-gnu   -I/space/pvelesko/chipStar/hip-tests-update/include -I/space/pvelesko/chipStar/hip-tests-update/HIP/include -I/space/pvelesko/chipStar/hip-tests-update/build/include -o catch/catch_tests/unit/memory/CMakeFiles/MemoryTest2.dir/hipMallocArray.cc.o -MT catch/catch_tests/unit/memory/CMakeFiles/MemoryTest2.dir/hipMallocArray.cc.o -MF catch/catch_tests/unit/memory/CMakeFiles/MemoryTest2.dir/hipMallocArray.cc.o.d

@pvelesko pvelesko added this to the Release 1.3 milestone May 29, 2024
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