Skip to content

Commit

Permalink
Call GpuDeviceManager.shutdown when the executor plugin is shutting d…
Browse files Browse the repository at this point in the history
…own (NVIDIA#1713)

* Call GpuDeviceManager.shutdown when the executor plugin is shutting down

Signed-off-by: Alessandro Bellina <abellina@nvidia.com>

* Update copyright
  • Loading branch information
abellina authored Feb 12, 2021
1 parent 52a61ec commit ce6f65d
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2019-2020, NVIDIA CORPORATION.
* Copyright (c) 2019-2021, NVIDIA CORPORATION.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -210,6 +210,7 @@ class RapidsExecutorPlugin extends ExecutorPlugin with Logging {
override def shutdown(): Unit = {
GpuSemaphore.shutdown()
PythonWorkerSemaphore.shutdown()
GpuDeviceManager.shutdown()
}
}

Expand Down

0 comments on commit ce6f65d

Please sign in to comment.