Avoid making a temporary copy of byval argument if all accesses are loads and therefore the pointer to the parameter can not escape.
This avoids excessive global memory accesses when each kernel makes its own copy.
Differential D98469
[NVPTX] Avoid temp copy of byval kernel parameters. tra on Mar 11 2021, 4:31 PM. Authored by
Details Avoid making a temporary copy of byval argument if all accesses are loads and therefore the pointer to the parameter can not escape. This avoids excessive global memory accesses when each kernel makes its own copy.
Diff Detail
Unit Tests Event TimelineComment Actions This is going to be so great. Thanks, Art.
|
clang-tidy: warning: invalid case style for function 'ConvertToParamAS' [readability-identifier-naming]
not useful