Branch: refs/heads/main
Revision: b321087
Author: e-kayrakli
Link: Use stdbool in the runtime GPU layer by e-kayrakli · Pull Request #20311 · chapel-lang/chapel · GitHub
Log Message:
Merge pull request #20311 from e-kayrakli/gpu-use-stdbool
Use stdbool in the runtime GPU layer
We use bool
in the GPU layer, but we don't include stdbool.h
. It looks like
we were getting by, because CHPL_MEM=jemalloc
brings it in. If you have
CHPL_MEM=cstdlib
, we aren't able to build the runtime.
Test:
-
can build with quickstart +
CHPL_LLVM!=none CHPL_LOCALE_MODEL=gpu
-
local gpu/native with
CHPL_MEM=cstdlib
[Trivial, not reviewed]
Modified Files:
M runtime/include/chpl-gpu.h
M runtime/src/chpl-gpu.c
Compare: https://github.com/chapel-lang/chapel/compare/8a2dbdc015c9...b3210878fb56