Added sample with __gfx*__ macro used
Change-Id: I80a474947ea1b755082dad5329d1aff3ee78840c
[ROCm/hip commit: a45f6f7ff3]
이 커밋은 다음에 포함됨:
1 부모
e2f6d2f26c
커밋
665440e499
4 파일이 변경됨
+141
-1
검색과 일치하는 파일 없음
@@ -52,7 +52,7 @@
|
||||
- [In-Line Assembly](#in-line-assembly)
|
||||
- [C++ Support](#c-support)
|
||||
- [Kernel Compilation](#kernel-compilation)
|
||||
|
||||
- [GFX Arch specific kernel](#gfx-arch-specific-kernel)
|
||||
<!-- tocstop -->
|
||||
|
||||
## Introduction
|
||||
@@ -803,3 +803,5 @@ The file format for binary is `.co` which means Code Object. The following comma
|
||||
|
||||
Note that one important fact to remember when using binary code objects is that the number of arguments to the kernel are different on HCC and NVCC path. Refer to the sample in samples/0_Intro/module_api for differences in the arguments to be passed to the kernel.
|
||||
|
||||
## gfx-arch-specific-kernel
|
||||
Clang defined '__gfx*__' macros can be used to execute gfx arch specific codes inside the kernel. Refer to the sample 14_gpu_arch in samples/2_Cookbook.
|
||||
새 이슈에서 참조
사용자 차단