tvm
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
tvm::tirx::CallFFIKernelAttr Struct Reference

Launch metadata for call_ffi_kernel. More...

#include <abi.h>

Inheritance diagram for tvm::tirx::CallFFIKernelAttr:
Collaboration diagram for tvm::tirx::CallFFIKernelAttr:

Public Member Functions

 TVM_FFI_DECLARE_OBJECT_INFO_FINAL ("tirx.CallFFIKernelAttr", CallFFIKernelAttr, AttrsNode)
 
- Public Member Functions inherited from tvm::AttrsNode
 TVM_FFI_DECLARE_OBJECT_INFO ("ir.Attrs", AttrsNode, ffi::Object)
 

Static Public Member Functions

static void RegisterReflection ()
 

Public Attributes

ffi::Array< ffi::String > launch_params
 Ordered launch tags describing the suffix of the call arguments.
 
ffi::Array< ffi::String > launch_fields
 CUDA configuration field names, one per trailing operand.
 
int64_t num_kernel_args {-1}
 Exact number of device parameters, excluding symbol and launch operands.
 
ffi::Map< ffi::String, int64_t > kernel_attrs
 Compile-time CUDA kernel requirements.
 

Additional Inherited Members

- Static Public Attributes inherited from tvm::AttrsNode
static constexpr TVMFFISEqHashKind _type_s_eq_hash_kind = kTVMFFISEqHashKindTreeNode
 

Detailed Description

Launch metadata for call_ffi_kernel.

Member Function Documentation

◆ RegisterReflection()

static void tvm::tirx::CallFFIKernelAttr::RegisterReflection ( )
static

◆ TVM_FFI_DECLARE_OBJECT_INFO_FINAL()

tvm::tirx::CallFFIKernelAttr::TVM_FFI_DECLARE_OBJECT_INFO_FINAL ( "tirx.CallFFIKernelAttr"  ,
CallFFIKernelAttr  ,
AttrsNode   
)

Member Data Documentation

◆ kernel_attrs

ffi::Map<ffi::String, int64_t> tvm::tirx::CallFFIKernelAttr::kernel_attrs

Compile-time CUDA kernel requirements.

◆ launch_fields

ffi::Array<ffi::String> tvm::tirx::CallFFIKernelAttr::launch_fields

CUDA configuration field names, one per trailing operand.

◆ launch_params

ffi::Array<ffi::String> tvm::tirx::CallFFIKernelAttr::launch_params

Ordered launch tags describing the suffix of the call arguments.

The first call argument is the kernel symbol, followed by kernel operands and launch values. Flag-only tags consume no value; dynamic shared-memory bytes, when present, are last. Runtime expressions remain in Call.args.

◆ num_kernel_args

int64_t tvm::tirx::CallFFIKernelAttr::num_kernel_args {-1}

Exact number of device parameters, excluding symbol and launch operands.


The documentation for this struct was generated from the following file: