[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 à :
@@ -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
|
||||
|
||||
@@ -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)))
|
||||
|
||||
Référencer dans un nouveau ticket
Bloquer un utilisateur