MCPcopy Create free account
hub / github.com/NVIDIA/TensorRT / ldg

Function ldg

plugin/instanceNormalizationPlugin/instanceNormCommon.h:145–148  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

143
144template <typename T>
145DEVICE_FUNCTION void ldg(int32_t (&dst)[1], T const* gmem)
146{
147 dst[0] = __ldg((int32_t const*) gmem);
148}
149
150template <typename T>
151DEVICE_FUNCTION void ldgStream(int32_t (&dst)[1], T const* gmem)

Callers

nothing calls this directly

Calls 1

toFloatFunction · 0.85

Tested by

no test coverage detected