From b932304bfcfadf851f0fe02a94dbb3321e58cbfe Mon Sep 17 00:00:00 2001 From: Evgeny Mankov Date: Thu, 10 Jan 2019 18:01:33 +0300 Subject: [PATCH] [HIPIFY] option cuda-path might be used with '--' as well as with a single dash: '-' + Update README.md [ROCm/hip commit: 0206fadc14d6e5a7f30897b7dea5f49d74bcd2c8] --- projects/hip/hipify-clang/README.md | 4 ++-- projects/hip/tests/hipify-clang/lit.cfg | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/projects/hip/hipify-clang/README.md b/projects/hip/hipify-clang/README.md index 8ef9883b55..812500ad34 100644 --- a/projects/hip/hipify-clang/README.md +++ b/projects/hip/hipify-clang/README.md @@ -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 diff --git a/projects/hip/tests/hipify-clang/lit.cfg b/projects/hip/tests/hipify-clang/lit.cfg index c65193d8d4..32a3863f2a 100644 --- a/projects/hip/tests/hipify-clang/lit.cfg +++ b/projects/hip/tests/hipify-clang/lit.cfg @@ -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)))