This directory contains examples using flang to compile and execute examples that use FORTRAN OpenMP target offload. FORTRAN OpenMP target offload uses OpenMP target pragmas in the source to designate code and data that is intended to be accelerated on the GPU. These are the examples in this category.
- helloworld - Demo print from inside and outside of target region.
- bigloop
- simple-offload
- gdb-simple - Demo of using the ROCm debugger rocgdb
- is-initial-device-api Demo check for GPU/CPU inside a target region.
- fortran-hip-interop Show hows HIP and FORTRAN target offload can be used together.