SWDEV-355608 - deprecate/cleanup hipcc link flags (#3128)
- deprecate -use-staticlib, -use-sharedlib which no longer provide any functional values - use --hip-link instead of specifying the HIP runtime by name when linking - fix linker option bug in HIT test's cmake - update build options for unit tests requiring pthread or rt Change-Id: Ib49978773c80fb40c71dc52b050ce921943ee3e4
This commit is contained in:
@@ -21,7 +21,7 @@ $ cd ~/hip/samples/0_Intro/square
|
||||
$ make
|
||||
/opt/rocm/hip/bin/hipify-perl square.cu > square.cpp
|
||||
/opt/rocm/hip/bin/hipcc square.cpp -o square.out
|
||||
/opt/rocm/hip/bin/hipcc -use-staticlib square.cpp -o square.out.static
|
||||
/opt/rocm/hip/bin/hipcc square.cpp -o square.out
|
||||
```
|
||||
- Execute file
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user