1 2 3 4 5 6
#!/usr/bin/env sh OUT=$(mktemp -d) /opt/rocm/bin/hipcc -o "$OUT/test" test.cpp "$OUT"/test