Skip to content

Commit deae98e

Browse files
added user_data
1 parent 0650288 commit deae98e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

runtime/common/ServerHelper.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,13 @@ struct KernelExecution {
3030
std::string code;
3131
nlohmann::json output_names;
3232
std::vector<std::size_t> mapping_reorder_idx;
33+
nlohmann::json user_data;
3334
KernelExecution(std::string &n, std::string &c, nlohmann::json &o,
3435
std::vector<std::size_t> &m)
3536
: name(n), code(c), output_names(o), mapping_reorder_idx(m) {}
37+
KernelExecution(std::string &n, std::string &c, nlohmann::json &o,
38+
std::vector<std::size_t> &m, nlohmann::json &ud)
39+
: name(n), code(c), output_names(o), mapping_reorder_idx(m), user_data(ud) {}
3640
};
3741

3842
/// @brief Responses / Submissions to the Server are modeled via JSON

0 commit comments

Comments
 (0)