[all-commits] [llvm/llvm-project] f0a955: [HIP] Rename predefined macros

Yaxun (Sam) Liu via All-commits all-commits at lists.llvm.org
Mon Jul 17 12:46:23 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f0a955d3fa54d2b8600e646bbfb6bf3217a18d0c
      https://github.com/llvm/llvm-project/commit/f0a955d3fa54d2b8600e646bbfb6bf3217a18d0c
  Author: Yaxun (Sam) Liu <yaxun.liu at amd.com>
  Date:   2023-07-17 (Mon, 17 Jul 2023)

  Changed paths:
    M clang/lib/Frontend/InitPreprocessor.cpp
    M clang/test/CodeGenCUDA/Inputs/cuda.h
    M clang/test/Driver/hip-macros.hip

  Log Message:
  -----------
  [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




More information about the All-commits mailing list