Skip to content
This repository was archived by the owner on Feb 15, 2024. It is now read-only.

Commit 80652bf

Browse files
committed
ATMI Release for ROCm v5.3.3
1 parent 62c84e4 commit 80652bf

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

src/atmi-backward-compat.cmake

+14-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,20 @@ function(create_header_template)
6060
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
6161
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
6262
THE SOFTWARE.
63-
*/\n\n#ifndef @include_guard@\n#define @include_guard@ \n\n\#pragma message(\"This file is deprecated. Use file from include path /opt/rocm-ver/include/ and prefix with atmi\")\n@include_statements@ \n\n#endif")
63+
*/
64+
65+
#ifndef @include_guard@
66+
#define @include_guard@
67+
68+
#if defined(_MSC_VER)
69+
#pragma message(\"This file is deprecated. Use file from include path /opt/rocm-ver/include/ and prefix with atmi\")
70+
#elif defined(__GNUC__)
71+
#warning \"This file is deprecated. Use file from include path /opt/rocm-ver/include/ and prefix with atmi\"
72+
#endif
73+
74+
@include_statements@
75+
76+
#endif")
6477
endfunction()
6578

6679
#use header template file and generate wrapper header files

0 commit comments

Comments
 (0)