MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / add_argument

Method add_argument

tensorflow/stream_executor/kernel.h:405–410  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

403 // out of scope before the instance of this class that calls this method does.
404 template <typename T>
405 void add_argument(const T &arg) {
406 argument_addresses_[number_of_argument_addresses_] =
407 static_cast<const void *>(&arg);
408 argument_sizes_[number_of_argument_addresses_] = sizeof(arg);
409 ++number_of_argument_addresses_;
410 }
411
412 // Adds a device memory argument to the list.
413 void add_device_memory_argument(const DeviceMemoryBase &arg) {

Callers 15

mainFunction · 0.80
get_arg_parserFunction · 0.80
get_arg_parserFunction · 0.80
get_arg_parserFunction · 0.80
get_arg_parserFunction · 0.80
get_arg_parserFunction · 0.80
get_arg_parserFunction · 0.80
get_arg_parserFunction · 0.80
get_arg_parserFunction · 0.80
get_arg_parserFunction · 0.80
get_arg_parserFunction · 0.80
get_arg_parserFunction · 0.80

Calls

no outgoing calls

Tested by 5

parse_cmd_lineFunction · 0.64
_babbleMethod · 0.64
_print_onesMethod · 0.64
_babbleMethod · 0.64
TESTFunction · 0.64