MCPcopy Create free account
hub / github.com/NVIDIAGameWorks/Falcor / ndarray_inc_ref

Function ndarray_inc_ref

Source/Falcor/Utils/Scripting/ndarray.cpp:645–651  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

643}
644
645dlpack::dltensor* ndarray_inc_ref(ndarray_handle* th) noexcept
646{
647 if (!th)
648 return nullptr;
649 ++th->refcount;
650 return &th->ndarray->dltensor;
651}
652
653void ndarray_dec_ref(ndarray_handle* th) noexcept
654{

Callers 3

ndarray_wrapFunction · 0.85
ndarrayMethod · 0.85
ndarrayClass · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected