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

Method init

dnn/src/cuda/handle.cpp:102–109  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

100}
101
102void HandleImpl::ConstScalars::init() {
103 f16[0].megdnn_x = 0;
104 f16[1].megdnn_x = 1;
105 f32[0] = 0;
106 f32[1] = 1;
107 i32[0] = 0;
108 i32[1] = 1;
109}
110
111size_t HandleImpl::alignment_requirement() const {
112 auto&& prop = m_device_prop;

Callers 7

HandleImplMethod · 0.45
dispatch_nonlinear_modeFunction · 0.45
dispatch_nonlinear_modeFunction · 0.45
dispatch_nonlinear_modeFunction · 0.45
dispatch_nonlinear_modeFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected