-
Notifications
You must be signed in to change notification settings - Fork 540
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
16 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -227,6 +227,7 @@ int main() { | |
## HIPRTC specific options | ||
|
||
HIPRTC provides a few HIPRTC specific flags | ||
|
||
* ```--gpu-architecture``` : This flag can guide the code object generation for a specific gpu arch. Example: ```--gpu-architecture=gfx906:sramecc+:xnack-```, its equivalent to ```--offload-arch```. | ||
* This option is compulsory if compilation is done on a system without AMD GPUs supported by HIP runtime. | ||
* Otherwise, HIPRTC will load the hip runtime and gather the current device and its architecture info and use it as option. | ||
|
@@ -407,7 +408,7 @@ std::cout << "hiprtcCompileProgram fails with error " << hiprtcGetErrorString(re | |
|
||
HIPRTC provides the following API for querying the version. | ||
|
||
hiprtcVersion(int* major, int* minor) - This sets the output parameters major and minor with the HIP Runtime compilation major version and minor version number respectively. | ||
```hiprtcVersion(int* major, int* minor)``` - This sets the output parameters major and minor with the HIP Runtime compilation major version and minor version number respectively. | ||
Check failure on line 411 in docs/how-to/hip_rtc.md GitHub Actions / Documentation / MarkdownSpaces inside emphasis markers
|
||
|
||
Currently, it returns hardcoded value. This should be implemented to return HIP runtime major and minor version in the future releases. | ||
|
||
|
@@ -493,6 +494,7 @@ Please have a look at hiprtcGetLoweredName.cpp for the detailed example. | |
## Versioning | ||
|
||
HIPRTC follows the below versioning. | ||
|
||
* Linux | ||
* HIPRTC follows the same versioning as HIP runtime library. | ||
* The `so` name field for the shared library is set to MAJOR version. For example, for HIP 5.3 the `so` name is set to 5 (hiprtc.so.5). | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters