llvm-project/clang/lib/CIR/CodeGen/CIRGenCUDARuntime.cpp
David Rivera 2d12279528
[CIR][CUDA] Upstream device stub body emission and name mangling (#177790)
Part of #175871 

This patch adds the initial implementation of the CUDA/NV Runtimes
generating code for the device stub body. tested on CUDA. HIP coverage
to be added in a later PR.
2026-02-03 05:20:43 -05:00

21 lines
739 B
C++

//===----- CIRGenCUDARuntime.cpp - Interface to CUDA Runtimes -------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//
//
// This provides an abstract class for CUDA code generation. Concrete
// subclasses of this implement code generation for specific CUDA
// runtime libraries.
//
//===----------------------------------------------------------------------===//
#include "CIRGenCUDARuntime.h"
using namespace clang;
using namespace CIRGen;
CIRGenCUDARuntime::~CIRGenCUDARuntime() {}