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

+ Update README.md
Este commit está contenido en:
Evgeny Mankov
2019-01-10 18:01:33 +03:00
padre fbfe005e4e
commit 0206fadc14
Se han modificado 2 ficheros con 3 adiciones y 3 borrados
+2 -2
Ver fichero
@@ -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
Ver fichero
@@ -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)))