Skip to content

Commit d93b262

Browse files
committed
[NFC][CUDA] Include STL headers in program.cpp
This patch fixes the build error on Windows. Technically only `<array>` was sufficient for resolving it, but it's better to include everything that the file relies on.
1 parent 7b4bc76 commit d93b262

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

source/adapters/cuda/program.cpp

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,17 @@
1111
#include "program.hpp"
1212
#include "ur_util.hpp"
1313

14+
#include <algorithm>
15+
#include <array>
16+
#include <cstdint>
17+
#include <cstring>
18+
#include <memory>
19+
#include <new>
20+
#include <string>
21+
#include <tuple>
22+
#include <utility>
23+
#include <vector>
24+
1425
bool getMaxRegistersJitOptionValue(const std::string &BuildOptions,
1526
unsigned int &Value) {
1627
using namespace std::string_view_literals;

0 commit comments

Comments
 (0)