diff options
author | wanglian <Lian.Wang@streamcomputing.com> | 2022-09-19 10:28:30 +0800 |
---|---|---|
committer | wanglian <Lian.Wang@streamcomputing.com> | 2022-09-19 10:43:09 +0800 |
commit | 5ed25e4df6a705d63b4e81c274f8385a0a1188f9 (patch) | |
tree | 283134199921f1e82c7f8fed5488f14ae73f2732 /clang/lib/Driver/Driver.cpp | |
parent | 298d08dfa5509b5fa6595c297c7f9c878b460d29 (diff) | |
download | llvm-5ed25e4df6a705d63b4e81c274f8385a0a1188f9.zip llvm-5ed25e4df6a705d63b4e81c274f8385a0a1188f9.tar.gz llvm-5ed25e4df6a705d63b4e81c274f8385a0a1188f9.tar.bz2 |
[CUDA][NFC] Rename 'addDeviceDepences' to 'addDeviceDependences' in DeviceActionBuilder.
Reviewed By: tra
Differential Revision: https://reviews.llvm.org/D134007
Diffstat (limited to 'clang/lib/Driver/Driver.cpp')
-rw-r--r-- | clang/lib/Driver/Driver.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/lib/Driver/Driver.cpp b/clang/lib/Driver/Driver.cpp index d8b1373..a67cf36 100644 --- a/clang/lib/Driver/Driver.cpp +++ b/clang/lib/Driver/Driver.cpp @@ -2736,7 +2736,7 @@ class OffloadingActionBuilder final { /// Update the state to include the provided host action \a HostAction as a /// dependency of the current device action. By default it is inactive. - virtual ActionBuilderReturnCode addDeviceDepences(Action *HostAction) { + virtual ActionBuilderReturnCode addDeviceDependences(Action *HostAction) { return ABRT_Inactive; } @@ -2824,7 +2824,7 @@ class OffloadingActionBuilder final { Action::OffloadKind OFKind) : DeviceActionBuilder(C, Args, Inputs, OFKind) {} - ActionBuilderReturnCode addDeviceDepences(Action *HostAction) override { + ActionBuilderReturnCode addDeviceDependences(Action *HostAction) override { // While generating code for CUDA, we only depend on the host input action // to trigger the creation of all the CUDA device actions. @@ -3603,7 +3603,7 @@ public: if (!SB->isValid()) continue; - auto RetCode = SB->addDeviceDepences(HostAction); + auto RetCode = SB->addDeviceDependences(HostAction); // Host dependences for device actions are not compatible with that same // action being ignored. |