MCPcopy Create free account
hub / github.com/RedisGraph/RedisGraph / deserialize

Method deserialize

deps/GraphBLAS/CUDA/jitify.hpp:3972–3981  ·  view source on GitHub ↗

! Restore a serialized kernel instantiation. * * \param serialized_kernel_inst The serialized kernel instantiation to * restore. * * \see serialize */

Source from the content-addressed store, hash-verified

3970 * \see serialize
3971 */
3972 static KernelInstantiation deserialize(
3973 std::string const& serialized_kernel_inst) {
3974 std::string func_name, ptx;
3975 std::vector<std::string> link_files, link_paths;
3976 if (!serialization::deserialize(serialized_kernel_inst, &func_name, &ptx,
3977 &link_files, &link_paths)) {
3978 throw std::runtime_error("Failed to deserialize kernel instantiation");
3979 }
3980 return KernelInstantiation(func_name, ptx, link_files, link_paths);
3981 }
3982
3983 /*! Save the program.
3984 *

Callers

nothing calls this directly

Calls 2

deserializeFunction · 0.85
KernelInstantiationClass · 0.85

Tested by

no test coverage detected