Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RenderKit/oidn
/ ~HostTensor
Method
~HostTensor
core/tensor.cpp:141–145 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
139
shared(true) {}
140
141
HostTensor::~HostTensor()
142
{
143
if (!shared)
144
alignedFree(ptr);
145
}
146
147
Ref<Tensor> HostTensor::toDevice(Engine* engine, Storage storage)
148
{
Callers
nothing calls this directly
Calls
1
alignedFree
Function · 0.85
Tested by
no test coverage detected