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

Method device_id

Source/Falcor/Utils/Scripting/ndarray.h:430–430  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

428 bool is_valid() const { return m_handle != nullptr; }
429 int32_t device_type() const { return m_dltensor.device.device_type; }
430 int32_t device_id() const { return m_dltensor.device.device_id; }
431 detail::ndarray_handle* handle() const { return m_handle; }
432
433 const Scalar* data() const { return (const Scalar*)((const uint8_t*)m_dltensor.data + m_dltensor.byte_offset); }

Callers 1

FALCOR_SCRIPT_BINDINGFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected