CHIP-SPV / chipStar

chipStar is a tool for compiling and running HIP/CUDA on SPIR-V via OpenCL or Level Zero APIs.
Other
221 stars 32 forks source link

Sporadic error during building `Cannot allocate memory` #615

Open pvelesko opened 1 year ago

pvelesko commented 1 year ago

This happens only on Sunspot as far as I've seen. Resolved by simply re-running a couple of times using a single thread.

[  7%] Generating ../amdgcn/bitcode/ocml.bc
[  7%] Built target LLVMHipDynMem
[  7%] Built target oclc_daz_opt_off
[  7%] Built target oclc_correctly_rounded_sqrt_off
[  7%] Built target oclc_isa_version_803
[  7%] Built target oclc_finite_only_off
../utils/prepare-builtins/prepare-builtins: Cannot allocate memory
pjaaskel commented 1 year ago

Is it a bug in chipStar or it simply runs out of memory during build?

pvelesko commented 1 year ago

It happens during building ROCm-Devicelib, not chipStar. I don't have any indication that it runs out of memory.

Only happens on Sunspot.