MCPcopy Create free account
hub / github.com/NVIDIA/cutlass / at

Method at

tools/profiler/src/problem_space.cpp:129–143  ·  view source on GitHub ↗

Gets the value pointed to

Source from the content-addressed store, hash-verified

127
128/// Gets the value pointed to
129std::unique_ptr<KernelArgument::Value> ScalarArgument::ScalarValueIterator::at() const {
130 if (this->null_argument) {
131 return std::unique_ptr<KernelArgument::Value>(
132 new ScalarArgument::ScalarValue(
133 std::string(),
134 static_cast<ScalarArgument const *>(argument),
135 false));
136 }
137 else {
138 return std::unique_ptr<KernelArgument::Value>(
139 new ScalarArgument::ScalarValue(
140 *value_it,
141 static_cast<ScalarArgument const *>(argument)));
142 }
143}
144
145std::unique_ptr<KernelArgument::ValueIterator> ScalarArgument::begin() const {
146 return std::unique_ptr<KernelArgument::ValueIterator>(new ScalarValueIterator(this));

Callers 15

argument_indexMethod · 0.45
parse_Method · 0.45
argument_namesMethod · 0.45
arg_as_intFunction · 0.45
arg_as_boolFunction · 0.45
arg_as_NumericTypeIDFunction · 0.45
arg_as_RasterOrderFunction · 0.45
arg_as_RuntimeDatatypeFunction · 0.45
arg_as_LayoutTypeIDFunction · 0.45
arg_as_OpcodeClassIDFunction · 0.45
arg_as_SplitKModeIDFunction · 0.45
arg_as_ConvModeIDFunction · 0.45

Calls 1

TensorDescriptionClass · 0.50

Tested by 15

initializeMethod · 0.36
initializeMethod · 0.36
initializeMethod · 0.36
initializeMethod · 0.36
initializeMethod · 0.36
initializeMethod · 0.36
print_tensorsMethod · 0.36
to_argsMethod · 0.36
to_host_argsMethod · 0.36
initializeMethod · 0.36
initializeMethod · 0.36
initialize_tensorMethod · 0.36