Skip to content

Commit

Permalink
[NFC][CUDA] Include STL headers in program.cpp
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
ProGTX committed Oct 4, 2024
1 parent 7b4bc76 commit d93b262
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions source/adapters/cuda/program.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,17 @@
#include "program.hpp"
#include "ur_util.hpp"

#include <algorithm>
#include <array>
#include <cstdint>
#include <cstring>
#include <memory>
#include <new>
#include <string>
#include <tuple>
#include <utility>
#include <vector>

bool getMaxRegistersJitOptionValue(const std::string &BuildOptions,
unsigned int &Value) {
using namespace std::string_view_literals;
Expand Down

0 comments on commit d93b262

Please sign in to comment.