From f331637ff6350776d57305f9dfcb494e06e7b233 Mon Sep 17 00:00:00 2001 From: ROCm CI Service Account <66695075+rocm-ci@users.noreply.github.com> Date: Thu, 9 Feb 2023 07:12:07 +0530 Subject: [PATCH] SWDEV-379789 - Correct virtual function support information (#3154) Change-Id: Ife63b2f4bb3ecdb7fed3b796bc3cd582c1b5ad20 --- docs/markdown/hip_kernel_language.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/markdown/hip_kernel_language.md b/docs/markdown/hip_kernel_language.md index 2b4f7e9cc8..5f8e9f8f95 100644 --- a/docs/markdown/hip_kernel_language.md +++ b/docs/markdown/hip_kernel_language.md @@ -862,8 +862,9 @@ Output Constraints are specified by an `"="` prefix as shown above ("=v"). This ## C++ Support The following C++ features are not supported: - Run-time-type information (RTTI) -- Virtual functions - Try/catch +- Virtual functions +Virtual functions are not supported if objects containing virtual function tables are passed between GPU's of different offload arch's, e.g. between gfx906 and gfx1030. Otherwise virtual functions are supported. ## Kernel Compilation hipcc now supports compiling C++/HIP kernels to binary code objects.