[HIPIFY][CUB][#1460][perl] Add "cub::" namespace prefix support in hipify-perl as well

This commit is contained in:
Evgeny Mankov
2019-11-01 14:34:18 +03:00
parent f563772a25
commit c48fdefee8
2 changed files with 3 additions and 1 deletions
+1
View File
@@ -1680,6 +1680,7 @@ sub transformKernelLaunch {
sub transformCubNamespace {
my $k = 0;
$k += s/using\s*namespace\s*cub/using namespace hipcub/g;
$k += s/\bcub::\b/hipcub::/g;
return $k;
}