| commit | ac920734e2282a1ea4ebf197dae38db6c4b5704f | [log] [tgz] | 
|---|---|---|
| author | Marc Olberding <molberding@nvidia.com> | Sun Sep 28 21:56:54 2025 -0700 | 
| committer | Marc Olberding <molberding@nvidia.com> | Thu Oct 16 15:02:15 2025 -0700 | 
| tree | e845530f80dccf686792f67c56bd2bf8bb984eb4 | |
| parent | d0125c9cdf0f0ae7f1943f773c99fc512db0a68e [diff] [blame] | 
nvidia-gpu: deferred init for NvidiaGpuDevice Adds deferred init for NvidiaGpuDevice, so that when we bind to this, the this pointer is valid, i.e. after construction is completed Change-Id: I24a53d2ab9be1a2a4431368414a154b48347d2a2 Signed-off-by: Marc Olberding <molberding@nvidia.com>
diff --git a/src/nvidia-gpu/NvidiaGpuDevice.hpp b/src/nvidia-gpu/NvidiaGpuDevice.hpp index 2f5ee76..ac83994 100644 --- a/src/nvidia-gpu/NvidiaGpuDevice.hpp +++ b/src/nvidia-gpu/NvidiaGpuDevice.hpp
@@ -41,6 +41,8 @@ return path; } + void init(); + private: void makeSensors();