Using HIPCC#
To use the newly built hipcc and hipconfig executables from the build folder use ./ in front of the executable name.
For example:
./hipconfig --help
./hipcc --help
./hipcc --version
./hipconfig --full
Verbose output#
Use --hipcc-verbose=<n> to inspect the commands and paths hipcc uses
during compilation. This is especially useful for understanding what flags
hipcc is passing to the underlying compiler before migrating to
amdclang++ directly.
hipcc --hipcc-verbose=7 myfile.cpp --offload-arch=gfx1100 -o myfile
The value is a bitmask:
Value |
Output |
|---|---|
|
Print the final compiler command ( |
|
Print HIP/ROCm path information |
|
Print the arguments passed to |
|
Print all of the above |
This option is equivalent to setting the HIPCC_VERBOSE environment variable, and takes precedence over it when both are set.