Skip to content

Commit aebe99f

Browse files
committed
SWDEV-296926 - hipcc/hipconfig binary src
1 parent 5fb5cfa commit aebe99f

File tree

2 files changed

+23
-4
lines changed

2 files changed

+23
-4
lines changed

amd/hipcc/README.md

Lines changed: 23 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,32 @@ Other environment variable controls:
3535

3636
### <a name="usage"></a> hipcc: usage
3737

38-
- WIP
38+
The built executables can be used the same way as the hipcc/hipconfig perl scripts.
39+
To use the newly built executables from the build folder use ./ in front of the executable name -
40+
Example:
41+
```shell
42+
./hipconfig --help
43+
./hipcc --help
44+
./hipcc --version
45+
./hipconfig --full
46+
```
47+
48+
when the excutables are copied to /opt/rocm/hip/bin or <anyfolder>hip/bin.
49+
The ./ is not required as the HIP path is added to the envirnoment variables list.
3950

4051
### <a name="building"></a> hipcc: building
4152

42-
- WIP
53+
```bash
54+
mkdir build
55+
cd build
56+
57+
cmake ..
58+
59+
make -j
60+
```
61+
62+
The hipcc and hipconfig executables are created in the current build folder. These executables need to be copied to /opt/rocm/hip/bin folder location. Packaging and installing will be handled in future releases.
4363

4464
### <a name="testing"></a> hipcc: testing
4565

46-
- WIP
66+
Currently hipcc/hipconfig executables are tested by building and executing HIP tests. Seperate tests for hipcc/hipconfig is currently not planned.

amd/hipcc/src/hipBin.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,6 @@ void HipBin::executeHipBin(string filename, int argc, char* argv[]) {
117117

118118

119119
void HipBin::executeHipCC(int argc, char* argv[]) {
120-
cout << "HIPCC executable" <<endl;
121120
vector<HipBinBase*>& platformPtrs = getHipBinPtrs();
122121
vector<string> argvcc;
123122
for (int i = 0; i < argc; i++) {

0 commit comments

Comments
 (0)