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 |
| struct mim::plug::ll_nvptx::DeviceEmitFlags |
Definition at line 16 of file ll_nvptx.h.
| Class Members | ||
|---|---|---|
| bool | uses_libdevice | |
|
strong |
| DeviceEmitFlags mim::plug::ll_nvptx::emit_device | ( | World & | world, |
| std::ostream & | ostream ) |
Definition at line 539 of file ll_nvptx.cpp.
References mim::plug::ll_nvptx::DeviceEmitter::is_using_libdevice(), mim::Emitter< std::string, std::string, BB, Emitter >::ostream(), mim::Phase::run(), and mim::Phase::world().
Referenced by mim::plug::ll_nvptx::Emit::start().
| 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 ) |
Definition at line 531 of file ll_nvptx.cpp.
References mim::plug::ll::Emitter::embed, mim::plug::ll::Emitter::load_rt_module(), mim::Emitter< std::string, std::string, BB, Emitter >::ostream(), mim::plug::ll::Emitter::rt_mode(), mim::Phase::run(), and mim::Phase::world().
Referenced by mim::plug::ll_nvptx::Emit::start().
|
constexpr |
Definition at line 123 of file ll_nvptx.cpp.
Referenced by mim::plug::ll_nvptx::HostEmitter::isa_targetspecific_intrinsic().
|
constexpr |
Definition at line 124 of file ll_nvptx.cpp.
Referenced by mim::plug::ll_nvptx::HostEmitter::isa_targetspecific_intrinsic().
|
constexpr |
Definition at line 125 of file ll_nvptx.cpp.
Referenced by mim::plug::ll_nvptx::HostEmitter::isa_targetspecific_intrinsic().
|
constexpr |
Definition at line 122 of file ll_nvptx.cpp.
Referenced by mim::plug::ll_nvptx::HostEmitter::isa_targetspecific_intrinsic().
|
constexpr |
Definition at line 126 of file ll_nvptx.cpp.
Referenced by mim::plug::ll_nvptx::HostEmitter::isa_targetspecific_intrinsic().
|
constexpr |
Definition at line 127 of file ll_nvptx.cpp.
Referenced by mim::plug::ll_nvptx::HostEmitter::isa_targetspecific_intrinsic().
|
constexpr |
Definition at line 128 of file ll_nvptx.cpp.
Referenced by mim::plug::ll_nvptx::HostEmitter::isa_targetspecific_intrinsic().
|
constexpr |
Definition at line 129 of file ll_nvptx.cpp.
Referenced by mim::plug::ll_nvptx::HostEmitter::isa_targetspecific_intrinsic().
|
constexpr |
Definition at line 130 of file ll_nvptx.cpp.
Referenced by mim::plug::ll_nvptx::HostEmitter::isa_targetspecific_intrinsic().
|
constexpr |
Definition at line 133 of file ll_nvptx.cpp.
Referenced by mim::plug::ll_nvptx::HostEmitter::isa_targetspecific_intrinsic().
|
constexpr |
Definition at line 134 of file ll_nvptx.cpp.
Referenced by mim::plug::ll_nvptx::HostEmitter::isa_targetspecific_intrinsic().
|
constexpr |
Definition at line 131 of file ll_nvptx.cpp.
Referenced by mim::plug::ll_nvptx::HostEmitter::isa_targetspecific_intrinsic().
|
constexpr |
Definition at line 132 of file ll_nvptx.cpp.
Referenced by mim::plug::ll_nvptx::HostEmitter::isa_targetspecific_intrinsic().
|
constexpr |
Definition at line 136 of file ll_nvptx.cpp.
Referenced by mim::plug::ll_nvptx::HostEmitter::isa_targetspecific_intrinsic().
|
constexpr |
Definition at line 135 of file ll_nvptx.cpp.
Referenced by mim::plug::ll_nvptx::HostEmitter::isa_targetspecific_intrinsic().
|
constexpr |
Definition at line 137 of file ll_nvptx.cpp.
Referenced by mim::plug::ll_nvptx::HostEmitter::isa_targetspecific_intrinsic().
|
constexpr |
Definition at line 138 of file ll_nvptx.cpp.
Referenced by mim::plug::ll_nvptx::HostEmitter::isa_targetspecific_intrinsic().
|
constexpr |
Definition at line 139 of file ll_nvptx.cpp.
Referenced by mim::plug::ll_nvptx::HostEmitter::isa_targetspecific_intrinsic().
|
constexpr |
Definition at line 140 of file ll_nvptx.cpp.
Referenced by mim::plug::ll_nvptx::HostEmitter::isa_targetspecific_intrinsic().