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

+ Update README.md


[ROCm/clr commit: 9b6af0a81d]
Этот коммит содержится в:
Evgeny Mankov
2019-01-10 18:01:33 +03:00
родитель 7d81558657
Коммит 175c294553
2 изменённых файлов: 3 добавлений и 3 удалений
+2 -2
Просмотреть файл
@@ -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
Просмотреть файл
@@ -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)))