MCPcopy Create free account
hub / github.com/deepspeedai/DeepSpeed / SetWorkSpace

Method SetWorkSpace

csrc/includes/context.h:76–80  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74 }
75
76 void SetWorkSpace(void* workspace)
77 {
78 if (!workspace) { throw std::runtime_error("Workspace is null."); }
79 _workspace = workspace;
80 }
81
82 void* GetWorkSpace() { return _workspace; }
83

Callers 2

ds_transformer_forwardFunction · 0.80
ds_transformer_backwardFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected