xref: /netbsd-src/external/gpl3/gcc.old/dist/libhsail-rt/README (revision 3ad841b2f6c3e57f95d0e6cec2feda2e43f1ebd0)
1This library implements the agent-side runtime functionality required
2to run HSA finalized programs produced by the BRIG frontend.
3
4The library contains both the code required to run kernels on the agent
5and also functions implementing more complex HSAIL instructions.
6
7rt/workitems.c contains the runtime entry function that manages multiple
8work-item execution using fibers or simple for-loops (in case of work groups
9without barriers).  Otherwise, the rest of the source files mostly contain
10functions that typically map directly to HSAIL instructions.
11