Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
144
template <typename T>
145
DEVICE_FUNCTION void ldg(int32_t (&dst)[1], T const* gmem)
146
{
147
dst[0] = __ldg((int32_t const*) gmem);
148
}
149
150
template <typename T>
151
DEVICE_FUNCTION void ldgStream(int32_t (&dst)[1], T const* gmem)
Callers
nothing calls this directly
Calls
1
toFloat
Function · 0.85
Tested by
no test coverage detected