[all-commits] [llvm/llvm-project] f05b58: [clang] Support '-fgpu-default-stream=per-thread' ...

boxu.zhang via All-commits all-commits at lists.llvm.org
Thu Jul 13 16:55:18 PDT 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f05b58a9468cc2990678e06bc51df56b30344807
  Author: boxu.zhang <boxu.zhang at hotmail.com>
  Date:   2023-07-13 (Thu, 13 Jul 2023)

  Changed paths:
    M clang/lib/CodeGen/CGCUDANV.cpp
    M clang/lib/Frontend/InitPreprocessor.cpp
    M clang/test/CodeGenCUDA/Inputs/cuda.h
    M clang/test/CodeGenCUDA/kernel-call.cu

  Log Message:
  [clang] Support '-fgpu-default-stream=per-thread' for NVIDIA CUDA

I'm using clang to compile CUDA code. And just found that clang doesn't support the per-thread stream option for NV CUDA. I don't know if there is another solution.

Reviewed By: tra

Differential Revision: https://reviews.llvm.org/D154822

More information about the All-commits mailing list