Skip to content

Commit 0da10e4

Browse files
authored
Update 08-porting-to-hip.md
1 parent e6a2314 commit 0da10e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/08-porting-to-hip.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,10 +186,10 @@ CC -x cu $HOP_FLAGS hello.cpp -o hello
186186
- write code in CUDA or HIP or a mix of both
187187
- use generic identifiers as intermediates in the translation
188188
* `gpuMalloc, gpuMemcpyHostToDevice, …`
189+
- use `gpuLaunchKernel()` instead of `<<<...>>>()`
189190
- when needed, wrapper functions can be used to write backend-specific
190191
implementations
191192
- avoid implicit header includes
192-
- use `gpuLaunchKernel()` instead of `<<<...>>>()`
193193

194194

195195
# Summary

0 commit comments

Comments
 (0)