Skip to content

Commit 2f22ed9

Browse files
authored
Follow-up to #475 - additional decoder interface updates (#478)
Signed-off-by: Ben Howe <bhowe@nvidia.com>
1 parent e790a0b commit 2f22ed9

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

libs/qec/include/cudaq/qec/decoder.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,10 @@ class decoder
243243
/// (caller must include realtime/graph_resources.h to interpret it).
244244
/// Returns nullptr if graph dispatch is not supported.
245245
/// The decoder retains ownership of the returned pointer.
246-
virtual void *capture_decode_graph() { return nullptr; }
246+
virtual void *capture_decode_graph(int reserved_sms = 0) {
247+
(void)reserved_sms;
248+
return nullptr;
249+
}
247250

248251
/// @brief Release graph resources previously returned by
249252
/// capture_decode_graph().

libs/qec/include/cudaq/qec/realtime/decoding_config.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
#pragma once
1010

1111
#include "cuda-qx/core/heterogeneous_map.h"
12+
#include <cstdint>
1213
#include <optional>
1314
#include <string>
1415
#include <variant>

0 commit comments

Comments
 (0)