Proteus
Programmable JIT compilation and optimization for C/C++ using LLVM
Loading...
Searching...
No Matches
Namespaces | Functions
CoreLLVMCUDA.hpp File Reference
#include <llvm/ADT/SmallVector.h>
#include <llvm/ADT/StringRef.h>
#include <llvm/CodeGen/MachineModuleInfo.h>
#include <llvm/IR/LegacyPassManager.h>
#include <llvm/IR/Module.h>
#include <llvm/Support/MemoryBufferRef.h>
#include <llvm/Support/TargetSelect.h>
#include <llvm/Target/TargetMachine.h>
#include "proteus/CoreDeviceCUDA.hpp"
#include "proteus/Logger.hpp"
#include "proteus/UtilsCUDA.h"
Include dependency graph for CoreLLVMCUDA.hpp:

Go to the source code of this file.

Namespaces

namespace  proteus
 
namespace  proteus::detail
 

Functions

const SmallVector< StringRef > & proteus::detail::gridDimXFnName ()
 
const SmallVector< StringRef > & proteus::detail::gridDimYFnName ()
 
const SmallVector< StringRef > & proteus::detail::gridDimZFnName ()
 
const SmallVector< StringRef > & proteus::detail::blockDimXFnName ()
 
const SmallVector< StringRef > & proteus::detail::blockDimYFnName ()
 
const SmallVector< StringRef > & proteus::detail::blockDimZFnName ()
 
const SmallVector< StringRef > & proteus::detail::blockIdxXFnName ()
 
const SmallVector< StringRef > & proteus::detail::blockIdxYFnName ()
 
const SmallVector< StringRef > & proteus::detail::blockIdxZFnName ()
 
const SmallVector< StringRef > & proteus::detail::threadIdxXFnName ()
 
const SmallVector< StringRef > & proteus::detail::threadIdxYFnName ()
 
const SmallVector< StringRef > & proteus::detail::threadIdxZFnName ()
 
void proteus::setLaunchBoundsForKernel (Module &M, Function &F, size_t GridSize, int BlockSize)
 
void proteus::codegenPTX (Module &M, StringRef DeviceArch, SmallVectorImpl< char > &PTXStr)
 
std::unique_ptr< MemoryBuffer > proteus::codegenObject (Module &M, StringRef DeviceArch, SmallPtrSetImpl< void * > &GlobalLinkedBinaries, bool UseRTC=true)