[all-commits] [llvm/llvm-project] ddeab0: [clang-repl][CUDA] Re-land: Initial interactive CU...

Anubhab Ghosh via All-commits all-commits at lists.llvm.org
Sat May 27 01:26:07 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ddeab07ca63235f8d952e1171b56fdb0f2d761c9
      https://github.com/llvm/llvm-project/commit/ddeab07ca63235f8d952e1171b56fdb0f2d761c9
  Author: Anubhab Ghosh <anubhabghosh.me at gmail.com>
  Date:   2023-05-27 (Sat, 27 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] Re-land: 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