Classes | |
| struct | DeviceEmitFlags |
| class | DeviceEmitter |
| class | Emit |
| class | HostEmitter |
Enumerations | |
<tt>nvptx.emit</tt> | |
| 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 = 0x3d74556400000000 |
| struct mim::plug::nvptx::DeviceEmitFlags |
|
strong |
| DeviceEmitFlags mim::plug::nvptx::emit_device | ( | World & | world, |
| std::ostream & | ostream ) |
Definition at line 667 of file nvptx.cpp.
References emit_device(), mim::plug::nvptx::DeviceEmitter::is_using_libdevice(), mim::plug::ll::Emitter::ostream(), mim::Phase::run(), and mim::Phase::world().
Referenced by emit_device(), and mim::plug::nvptx::Emit::start().
| void mim::plug::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 659 of file nvptx.cpp.
References mim::plug::ll::Emitter::embed, emit_host(), mim::plug::ll::Emitter::load_rt_module(), mim::plug::ll::Emitter::ostream(), mim::plug::ll::Emitter::rt_mode(), mim::Phase::run(), and mim::Phase::world().
Referenced by emit_host(), and mim::plug::nvptx::Emit::start().
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
Definition at line 163 of file nvptx.cpp.
Referenced by mim::plug::nvptx::HostEmitter::isa_targetspecific_intrinsic().
|
constexpr |
Definition at line 164 of file nvptx.cpp.
Referenced by mim::plug::nvptx::HostEmitter::isa_targetspecific_intrinsic().
|
constexpr |
Definition at line 165 of file nvptx.cpp.
Referenced by mim::plug::nvptx::HostEmitter::isa_targetspecific_intrinsic().
|
constexpr |
Definition at line 166 of file nvptx.cpp.
Referenced by mim::plug::nvptx::HostEmitter::isa_targetspecific_intrinsic().
|
constexpr |
Definition at line 167 of file nvptx.cpp.
Referenced by mim::plug::nvptx::HostEmitter::isa_targetspecific_intrinsic().
|
constexpr |
Definition at line 170 of file nvptx.cpp.
Referenced by mim::plug::nvptx::HostEmitter::isa_targetspecific_intrinsic().
|
constexpr |
Definition at line 171 of file nvptx.cpp.
Referenced by mim::plug::nvptx::HostEmitter::isa_targetspecific_intrinsic().
|
constexpr |
Definition at line 168 of file nvptx.cpp.
Referenced by mim::plug::nvptx::HostEmitter::isa_targetspecific_intrinsic().
|
constexpr |
Definition at line 169 of file nvptx.cpp.
Referenced by mim::plug::nvptx::HostEmitter::isa_targetspecific_intrinsic().
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
Definition at line 175 of file nvptx.cpp.
Referenced by mim::plug::nvptx::HostEmitter::isa_targetspecific_intrinsic().
|
constexpr |
Definition at line 176 of file nvptx.cpp.
Referenced by mim::plug::nvptx::HostEmitter::isa_targetspecific_intrinsic().
|
constexpr |
Definition at line 177 of file nvptx.cpp.
Referenced by mim::plug::nvptx::HostEmitter::isa_targetspecific_intrinsic().