CHIP-SPV / chipStar

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

default to Debug #776

Closed pvelesko closed 6 months ago

pvelesko commented 6 months ago

Switch to CMake default Debug

pvelesko commented 6 months ago

Switching to debug makes page locking fail as follows:

cuda-bandwidthTest: /home/runner/work/chipStar/chipStar/src/CHIPBindings.cc:2473: hipError_t hipHostMallocInternal(void **, size_t, unsigned int): Assertion `PageLockSuccess == 0 && "Failed to page lock memory"' failed.

Are reason for this to happen from PoCL/Ubuntu Runners perspective? @pjaaskel @Kerilk

pjaaskel commented 6 months ago

I have no clue why -g would change anything related to page locking and how PoCL could have anything to do with it.