[HIPIFY] option cuda-path might be used with '--' as well as with a single dash: '-'

+ Update README.md


[ROCm/hip commit: 0206fadc14]
Cette révision appartient à :
Evgeny Mankov
2019-01-10 18:01:33 +03:00
Parent 6acede94f5
révision b932304bfc
2 fichiers modifiés avec 3 ajouts et 3 suppressions
+2 -2
Voir le fichier
@@ -320,9 +320,9 @@ For example:
```shell
./hipify-clang \
square.cu \
-- \
--cuda-path=/usr/local/cuda-8.0 \
-isystem /usr/local/cuda-8.0/samples/common/inc
-- \
-I /usr/local/cuda-8.0/samples/common/inc
```
`hipify-clang` arguments are given first, followed by a separator, and then the arguments you'd pass to `clang` if you
+1 -1
Voir le fichier
@@ -75,7 +75,7 @@ else:
clang_arguments += " -isystem'%s'/samples/common/inc"
clang_arguments += " -I'%s'/include"
hipify_arguments = "-cuda-path='%s'"
hipify_arguments = "--cuda-path='%s'"
config.substitutions.append(("%clang_args", clang_arguments % (config.cuda_sdk_root, config.cuda_dnn_root)))
config.substitutions.append(("%hipify_args", hipify_arguments % (config.cuda_root)))