MCPcopy Create free account
hub / github.com/RenderKit/oidn / HostTensor

Method HostTensor

core/tensor.cpp:131–134  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

129 // -----------------------------------------------------------------------------------------------
130
131 HostTensor::HostTensor(const TensorDesc& desc)
132 : Tensor(desc),
133 ptr(alignedMalloc(getByteSize())),
134 shared(false) {}
135
136 HostTensor::HostTensor(const TensorDesc& desc, void* data)
137 : Tensor(desc),

Callers

nothing calls this directly

Calls 2

alignedMallocFunction · 0.85
getByteSizeFunction · 0.70

Tested by

no test coverage detected