MimIR
MimIR is my Intermediate Representation
Loading...
Searching...
No Matches
mim::plug::ll_nvptx Namespace Reference

The ll_nvptx Plugin More...

Classes

struct  DeviceEmitFlags
class  Emit
class  HostEmitter
class  DeviceEmitter

Enumerations

%ll_nvptx.emit
enum class  emit : flags_t

Functions

void emit_host (World &, std::ostream &, std::optional< std::string >, ll::Emitter::Rt rt=ll::Emitter::Rt::embed)
DeviceEmitFlags emit_device (World &, std::ostream &)

Variables

constexpr auto Cu_Init = "cuInit"
constexpr auto Cu_Ctx_Create = "cuCtxCreate_v4"
constexpr auto Cu_Ctx_Destroy = "cuCtxDestroy_v2"
constexpr auto Cu_Device_Get = "cuDeviceGet"
constexpr auto Cu_Launch_Kernel = "cuLaunchKernel_ptsz"
constexpr auto Cu_Mem_Alloc = "cuMemAlloc_v2"
constexpr auto Cu_Mem_Alloc_Async = "cuMemAllocAsync_ptsz"
constexpr auto Cu_Mem_Free = "cuMemFree_v2"
constexpr auto Cu_Mem_Free_Async = "cuMemFreeAsync_ptsz"
constexpr auto Cu_Memcpy_Htod = "cuMemcpyHtoD_v2"
constexpr auto Cu_Memcpy_Htod_Async = "cuMemcpyHtoDAsync_v2_ptsz"
constexpr auto Cu_Memcpy_Dtoh = "cuMemcpyDtoH_v2"
constexpr auto Cu_Memcpy_Dtoh_Async = "cuMemcpyDtoHAsync_v2_ptsz"
constexpr auto Cu_Module_Load_Fatbin = "cuModuleLoadFatBinary"
constexpr auto Cu_Module_Get_Function = "cuModuleGetFunction"
constexpr auto Cu_Module_Unload = "cuModuleUnload"
constexpr auto Cu_Stream_Create = "cuStreamCreate"
constexpr auto Cu_Stream_Destroy = "cuStreamDestroy_v2"
constexpr auto Cu_Stream_Sync = "cuStreamSynchronize_ptsz"
static constexpr plugin_t Plugin_Id = 0x34d04f5d15590000

Detailed Description


Class Documentation

◆ mim::plug::ll_nvptx::DeviceEmitFlags

struct mim::plug::ll_nvptx::DeviceEmitFlags

Definition at line 16 of file ll_nvptx.h.

Class Members
bool uses_libdevice

Enumeration Type Documentation

◆ emit

enum class mim::plug::ll_nvptx::emit : flags_t
strong

Definition at line 14 of file autogen.h.

Function Documentation

◆ emit_device()

◆ emit_host()

void mim::plug::ll_nvptx::emit_host ( World & world,
std::ostream & ostream,
std::optional< std::string > device_fatbin_file,
ll::Emitter::Rt rt = ll::Emitter::Rt::embed )

Variable Documentation

◆ Cu_Ctx_Create

auto mim::plug::ll_nvptx::Cu_Ctx_Create = "cuCtxCreate_v4"
constexpr

◆ Cu_Ctx_Destroy

auto mim::plug::ll_nvptx::Cu_Ctx_Destroy = "cuCtxDestroy_v2"
constexpr

◆ Cu_Device_Get

auto mim::plug::ll_nvptx::Cu_Device_Get = "cuDeviceGet"
constexpr

◆ Cu_Init

auto mim::plug::ll_nvptx::Cu_Init = "cuInit"
constexpr

◆ Cu_Launch_Kernel

auto mim::plug::ll_nvptx::Cu_Launch_Kernel = "cuLaunchKernel_ptsz"
constexpr

◆ Cu_Mem_Alloc

auto mim::plug::ll_nvptx::Cu_Mem_Alloc = "cuMemAlloc_v2"
constexpr

◆ Cu_Mem_Alloc_Async

auto mim::plug::ll_nvptx::Cu_Mem_Alloc_Async = "cuMemAllocAsync_ptsz"
constexpr

◆ Cu_Mem_Free

auto mim::plug::ll_nvptx::Cu_Mem_Free = "cuMemFree_v2"
constexpr

◆ Cu_Mem_Free_Async

auto mim::plug::ll_nvptx::Cu_Mem_Free_Async = "cuMemFreeAsync_ptsz"
constexpr

◆ Cu_Memcpy_Dtoh

auto mim::plug::ll_nvptx::Cu_Memcpy_Dtoh = "cuMemcpyDtoH_v2"
constexpr

◆ Cu_Memcpy_Dtoh_Async

auto mim::plug::ll_nvptx::Cu_Memcpy_Dtoh_Async = "cuMemcpyDtoHAsync_v2_ptsz"
constexpr

◆ Cu_Memcpy_Htod

auto mim::plug::ll_nvptx::Cu_Memcpy_Htod = "cuMemcpyHtoD_v2"
constexpr

◆ Cu_Memcpy_Htod_Async

auto mim::plug::ll_nvptx::Cu_Memcpy_Htod_Async = "cuMemcpyHtoDAsync_v2_ptsz"
constexpr

◆ Cu_Module_Get_Function

auto mim::plug::ll_nvptx::Cu_Module_Get_Function = "cuModuleGetFunction"
constexpr

◆ Cu_Module_Load_Fatbin

auto mim::plug::ll_nvptx::Cu_Module_Load_Fatbin = "cuModuleLoadFatBinary"
constexpr

◆ Cu_Module_Unload

auto mim::plug::ll_nvptx::Cu_Module_Unload = "cuModuleUnload"
constexpr

◆ Cu_Stream_Create

auto mim::plug::ll_nvptx::Cu_Stream_Create = "cuStreamCreate"
constexpr

◆ Cu_Stream_Destroy

auto mim::plug::ll_nvptx::Cu_Stream_Destroy = "cuStreamDestroy_v2"
constexpr

◆ Cu_Stream_Sync

auto mim::plug::ll_nvptx::Cu_Stream_Sync = "cuStreamSynchronize_ptsz"
constexpr

◆ Plugin_Id

plugin_t mim::plug::ll_nvptx::Plugin_Id = 0x34d04f5d15590000
staticconstexpr

Definition at line 10 of file autogen.h.