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.
21 lines
739 B
C++
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() {}
|