mxnet
|
Cuda runtime compile module. More...
#include <rtc.h>
Classes | |
struct | ArgType |
cuda kernel argument descriptor More... | |
class | Kernel |
Cuda kernel. More... | |
Public Member Functions | |
CudaModule (const char *source, const std::vector< std::string > &options, const std::vector< std::string > &exports) | |
CudaModule constructor. More... | |
std::shared_ptr< Kernel > | GetKernel (const std::string &name, const std::vector< ArgType > &signature) |
Get cuda kernal from module by name. More... | |
Cuda runtime compile module.
|
inline |
CudaModule constructor.
source | cuda source code. |
exports | export symbols before mangling. |
std::shared_ptr<Kernel> mxnet::rtc::CudaModule::GetKernel | ( | const std::string & | name, |
const std::vector< ArgType > & | signature | ||
) |
Get cuda kernal from module by name.
name | kernel name |
signature | kernel signature |