MCPcopy Create free account
hub / github.com/MegEngine/MegEngine / one_device_i32

Method one_device_i32

dnn/src/cuda/handle.h:58–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56 __half* one_device_h() { return &m_const_scalars->f16[1].cuda_x; }
57 dt_int32* zero_device_i32() { return &m_const_scalars->i32[0]; }
58 dt_int32* one_device_i32() { return &m_const_scalars->i32[1]; }
59
60 bool is_tegra_k1() const { return m_is_tegra_k1; }
61

Callers 2

execMethod · 0.45
exec_internalMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected