Skip to content

Commit e548ebf

Browse files
authored
Update 08-porting-to-hip.md
1 parent 22da094 commit e548ebf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/08-porting-to-hip.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,14 +169,14 @@ Hipify tools are not running your application, or checking correctness. Code rel
169169
**CUDA** ⇒ **HIP**
170170
```
171171
export HOP_ROOT=/path/to/hop
172-
export HOP_FLAGS=-I$HOP_ROOT -I$HOP_ROOT/source/cuda -DHOP_TARGET_HIP
172+
export HOP_FLAGS="-I$HOP_ROOT -I$HOP_ROOT/source/cuda -DHOP_TARGET_HIP"
173173
CC -x hip $HOP_FLAGS hello.cu -o hello
174174
./hello
175175
```
176176
**HIP** ⇒ **CUDA**
177177
```
178178
export HOP_ROOT=/path/to/hop
179-
export HOP_FLAGS=-I$HOP_ROOT -I$HOP_ROOT/source/hip -DHOP_TARGET_CUDA
179+
export HOP_FLAGS="-I$HOP_ROOT -I$HOP_ROOT/source/hip -DHOP_TARGET_CUDA"
180180
CC -x cu $HOP_FLAGS hello.cpp -o hello
181181
./hello
182182
```

0 commit comments

Comments
 (0)