[all-commits] [llvm/llvm-project] 80e7ee: [clang-repl][CUDA] Initial interactive CUDA suppor...

Anubhab Ghosh via All-commits all-commits at lists.llvm.org
Sat May 20 01:57:12 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 80e7eed6a610ab3c7289e6f9b7ec006bc7d7ae31
      https://github.com/llvm/llvm-project/commit/80e7eed6a610ab3c7289e6f9b7ec006bc7d7ae31
  Author: Anubhab Ghosh <anubhabghosh.me at gmail.com>
  Date:   2023-05-20 (Sat, 20 May 2023)

  Changed paths:
    M clang/include/clang/Interpreter/Interpreter.h
    M clang/lib/CodeGen/CGCUDANV.cpp
    M clang/lib/CodeGen/CodeGenAction.cpp
    M clang/lib/CodeGen/CodeGenModule.cpp
    M clang/lib/CodeGen/ModuleBuilder.cpp
    M clang/lib/Interpreter/CMakeLists.txt
    A clang/lib/Interpreter/DeviceOffload.cpp
    A clang/lib/Interpreter/DeviceOffload.h
    M clang/lib/Interpreter/IncrementalParser.cpp
    M clang/lib/Interpreter/IncrementalParser.h
    M clang/lib/Interpreter/Interpreter.cpp
    A clang/test/Interpreter/CUDA/device-function-template.cu
    A clang/test/Interpreter/CUDA/device-function.cu
    A clang/test/Interpreter/CUDA/host-and-device.cu
    A clang/test/Interpreter/CUDA/lit.local.cfg
    A clang/test/Interpreter/CUDA/memory.cu
    A clang/test/Interpreter/CUDA/sanity.cu
    M clang/test/lit.cfg.py
    M clang/tools/clang-repl/ClangRepl.cpp
    M clang/unittests/Interpreter/ExceptionTests/InterpreterExceptionTest.cpp
    M clang/unittests/Interpreter/IncrementalProcessingTest.cpp
    M clang/unittests/Interpreter/InterpreterTest.cpp

  Log Message:
  -----------
  [clang-repl][CUDA] Initial interactive CUDA support for clang-repl

CUDA support can be enabled in clang-repl with --cuda flag.
Device code linking is not yet supported. inline must be used with all
__device__ functions.

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




More information about the All-commits mailing list