NVPTX does not allow dots in the identifier, so ptxas errors out with
fatal : Parsing error near '.static': syntax error
because it parses .static as a directive. Avoid this problem by using
two underscores, similar to what OpenMP does for outlined functions.
I would expect NVPTXAssignValidGlobalNames.cpp to deal with this ptx quirk.
I'm fine with the underscores, but it would be good we're not just covering up an issue somewhere else.