[HIP] Rename predefined macros
authorYaxun (Sam) Liu <yaxun.liu@amd.com>
Mon, 17 Jul 2023 15:57:38 +0000 (11:57 -0400)
committerYaxun (Sam) Liu <yaxun.liu@amd.com>
Mon, 17 Jul 2023 19:45:49 +0000 (15:45 -0400)
commitf0a955d3fa54d2b8600e646bbfb6bf3217a18d0c
tree1f5aab9bb03170bac1e774bdc35ff3b85892e37b
parentdf111658a2535d273a4d7d1edf7c412e090ac97e
[HIP] Rename predefined macros

Rename HIP_API_PER_THREAD_DEFAULT_STREAM and __HIP_NO_IMAGE_SUPPORT
so that they follow the convention with prefix and postfix __.

Reviewed by: Artem Belevich

Differential Revision: https://reviews.llvm.org/D155480
clang/lib/Frontend/InitPreprocessor.cpp
clang/test/CodeGenCUDA/Inputs/cuda.h
clang/test/Driver/hip-macros.hip