MCPcopy Create free account
hub / github.com/NVIDIA/DALI / daliTensorGetBufferPlacement

Function daliTensorGetBufferPlacement

dali/c_api_2/data_objects.cc:150–158  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

148}
149
150daliResult_t daliTensorGetBufferPlacement(
151 daliTensor_h tensor,
152 daliBufferPlacement_t *out_placement) {
153 DALI_PROLOG();
154 auto *ptr = ToPointer(tensor);
155 CHECK_OUTPUT(out_placement);
156 *out_placement = ptr->GetBufferPlacement();
157 DALI_EPILOG();
158}
159
160daliResult_t daliTensorSetLayout(
161 daliTensor_h tensor,

Callers 1

TESTFunction · 0.85

Calls 2

ToPointerFunction · 0.70
GetBufferPlacementMethod · 0.45

Tested by 1

TESTFunction · 0.68