diff options
| author | Aiden Grossman <aidengrossman@google.com> | 2025-11-07 20:31:48 +0000 |
|---|---|---|
| committer | Aiden Grossman <aidengrossman@google.com> | 2025-11-07 20:31:48 +0000 |
| commit | ecb8acd796ca75a0e5130d83955818b2762344c3 (patch) | |
| tree | c6b38191b183b7ab4c29d22a8d4ba183b3d056d7 /offload/plugins-nextgen/cuda/src/rtl.cpp | |
| parent | a67b7975eaced8df0654bff06756c8cc902723d4 (diff) | |
| parent | 1f8d5d46df48720973c8312447b1c9a0165213d4 (diff) | |
[𝘀𝗽𝗿] changes introduced through rebaseusers/boomanaiden154/main.ci-make-premerge-uploadwrite-comments
Created using spr 1.3.7
[skip ci]
Diffstat (limited to 'offload/plugins-nextgen/cuda/src/rtl.cpp')
| -rw-r--r-- | offload/plugins-nextgen/cuda/src/rtl.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/offload/plugins-nextgen/cuda/src/rtl.cpp b/offload/plugins-nextgen/cuda/src/rtl.cpp index a9adcc397fb7..45e580e7e0cd 100644 --- a/offload/plugins-nextgen/cuda/src/rtl.cpp +++ b/offload/plugins-nextgen/cuda/src/rtl.cpp @@ -1235,11 +1235,6 @@ struct CUDADeviceTy : public GenericDeviceTy { return Info; } - virtual bool shouldSetupDeviceMemoryPool() const override { - /// We use the CUDA malloc for now. - return false; - } - /// Getters and setters for stack and heap sizes. Error getDeviceStackSize(uint64_t &Value) override { return getCtxLimit(CU_LIMIT_STACK_SIZE, Value); @@ -1247,6 +1242,7 @@ struct CUDADeviceTy : public GenericDeviceTy { Error setDeviceStackSize(uint64_t Value) override { return setCtxLimit(CU_LIMIT_STACK_SIZE, Value); } + bool hasDeviceHeapSize() override { return true; } Error getDeviceHeapSize(uint64_t &Value) override { return getCtxLimit(CU_LIMIT_MALLOC_HEAP_SIZE, Value); } |
