MCPcopy Create free account
hub / github.com/KomputeProject/kompute / OpTensorSyncLocal

Method OpTensorSyncLocal

src/OpTensorSyncLocal.cpp:9–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7namespace kp {
8
9OpTensorSyncLocal::OpTensorSyncLocal(
10 const std::vector<std::shared_ptr<Tensor>>& tensors)
11{
12 KP_LOG_DEBUG("Kompute OpTensorSyncLocal constructor with params");
13
14 if (tensors.size() < 1) {
15 throw std::runtime_error(
16 "Kompute OpTensorSyncLocal called with less than 1 tensor");
17 }
18
19 this->mTensors = tensors;
20}
21
22OpTensorSyncLocal::~OpTensorSyncLocal()
23{

Callers 15

test_end_to_endFunction · 0.80
test_shader_strFunction · 0.80
test_sequenceFunction · 0.80
test_pushconstsFunction · 0.80
test_pushconsts_intFunction · 0.80
test_workgroupFunction · 0.80
test_logistic_regressionFunction · 0.80
test_type_floatFunction · 0.80
test_type_doubleFunction · 0.80
test_type_intFunction · 0.80

Calls 1

sizeMethod · 0.80

Tested by 13

test_end_to_endFunction · 0.64
test_shader_strFunction · 0.64
test_sequenceFunction · 0.64
test_pushconstsFunction · 0.64
test_pushconsts_intFunction · 0.64
test_workgroupFunction · 0.64
test_logistic_regressionFunction · 0.64
test_type_floatFunction · 0.64
test_type_doubleFunction · 0.64
test_type_intFunction · 0.64