24 #ifndef TVM_TOPI_CUDA_INJECTIVE_H_
25 #define TVM_TOPI_CUDA_INJECTIVE_H_
51 int num_thread = target->GetAttr<
Integer>(
"max_num_threads").value().
IntValue();
53 sch[out].split(fused, num_thread, &bx, &tx);
74 for (
auto out : outs) {
Container of constant int that adds more constructors.
Definition: expr.h:632
int64_t IntValue() const
convert to int64_t
Definition: expr.h:669
Range container
Definition: expr.h:725
Managed reference class to TargetNode.
Definition: target.h:200
static tvm::Target Current(bool allow_not_defined=true)
Get the current target context from thread local storage.
Array, container representing a contiguous sequence of ObjectRefs.
Definition: array.h:289
void push_back(const T &item)
push a new item to the back of the list
Definition: array.h:457
const ObjectType * as() const
Try to downcast the internal Object to a raw pointer of a corresponding type.
Definition: object.h:910
Array< IterVar > axis
IterVar on each axis.
Definition: operation.h:207
A Compute op that compute a tensor on certain domain.
Definition: operation.h:226
Managed reference to FuseNode.
Definition: schedule.h:826
Global schedule container For operations and all the operations they depend on. The schedule per Oper...
Definition: schedule.h:326
Tensor structure representing a possible input, or intermediate computation result.
Definition: tensor.h:102
Iteration Variable, represents an iteration over an integer interval.
Definition: var.h:315
Generic function that can be specialzied on a per target basis.
Tensor expression language DSL.
Definition: extracted_task.h:33
Schedule create_schedule(Array< Operation > ops)
Create a schedule for array of ops(and their dependencies).
Definition: schedule.h:702
void AutoInlineInjective(Schedule sch)
To automatically inline operations with injective writes (i.e. writes without reduction or sequential...
IterVar thread_axis(Range dom, std::string tag)
Create a new IterVar that represents an axis in thread.
Schedule schedule_injective(const Target &target, const Array< Tensor > &outs)
Create an x86 schedule for the given injective ops.
Definition: injective.h:68
Schedule schedule_injective_from_existing(Schedule sch, const Tensor &out)
Updates an existing schedule for the given injective ops.
Definition: injective.h:47
runtime implementation for LibTorch/TorchScript.
Definition: analyzer.h:36
Operation node can generate one or multiple Tensors.
Collection of Schedule pass functions.