Skip to content

Commit 806eb8b

Browse files
authored
[GPU] init enable_large_allocations to silent valgrind (#33022)
### Details: - found when running valgrind on yolov3 ### Tickets:
1 parent 8da03d4 commit 806eb8b

File tree

1 file changed

+1
-1
lines changed
  • src/plugins/intel_gpu/include/intel_gpu/runtime

1 file changed

+1
-1
lines changed

src/plugins/intel_gpu/include/intel_gpu/runtime/engine.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ class engine {
177177
/// Create engine for given @p device
178178
engine(const device::ptr device);
179179
const device::ptr _device;
180-
bool enable_large_allocations;
180+
bool enable_large_allocations = false;
181181

182182
std::array<std::atomic<uint64_t>, static_cast<size_t>(allocation_type::max_value)> _memory_usage_data{};
183183
std::array<std::atomic<uint64_t>, static_cast<size_t>(allocation_type::max_value)> _peak_memory_usage_data{};

0 commit comments

Comments
 (0)