I am copying KhronosGroup/SPIRV-LLVM-Translator#404 to LuxMark repo.
Luxmark crashed on std::stringstream destructor https://github.com/KhronosGroup/SPIRV-LLVM-Translator/blob/llvm_release_110/lib/SPIRV/OCLToSPIRV.cpp#LL321C7-L323C24). The std::stringstream usage is right, it failed with "vload3" string process but passed with "vload2". Dumped LLVM IR could be translated using llvm-spirv and opencl kernel compiled with ocloc. We suspect problems are with Luxmark itself and maybe Luxmark binary overwrites some functions from libstdc++.
| Project |
Branch |
Revision |
| opencl-clang |
ocl-open-110 |
ee31812ea8b89d08c2918f045d11a19bd33525c5 |
| SPIRV-LLVM-Translator |
llvm_release_110 |
d739c01d65ec00dee64dedd40deed805216a7193 |
| LLVM project |
release/11.x |
1fdec59bffc11ae37eb51a1b9869f0696bfd5312 |
I am copying KhronosGroup/SPIRV-LLVM-Translator#404 to LuxMark repo.
Luxmark crashed on std::stringstream destructor https://github.com/KhronosGroup/SPIRV-LLVM-Translator/blob/llvm_release_110/lib/SPIRV/OCLToSPIRV.cpp#LL321C7-L323C24). The std::stringstream usage is right, it failed with "vload3" string process but passed with "vload2". Dumped LLVM IR could be translated using llvm-spirv and opencl kernel compiled with ocloc. We suspect problems are with Luxmark itself and maybe Luxmark binary overwrites some functions from libstdc++.