Skip to content

Commit

Permalink
Fix compile error due to missing header (#11126)
Browse files Browse the repository at this point in the history
Some recently merged PRs (#11018 + #11036) do not include enough header which may cause compile error in some systems (in particular, CUDA 11.7 + gcc-11.2). This PR adds the missing header (`<optional>`) to fix the compile issue.

Authors:
  - Nghia Truong (https://github.com/ttnghia)

Approvers:
  - Karthikeyan (https://github.com/karthikeyann)
  - Yunsong Wang (https://github.com/PointKernel)

URL: #11126
  • Loading branch information
ttnghia authored Jun 20, 2022
1 parent ff1f9d3 commit 4bbb658
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions cpp/include/cudf/io/parquet.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@

#include <iostream>
#include <memory>
#include <optional>
#include <string>
#include <vector>

Expand Down
2 changes: 2 additions & 0 deletions cpp/src/io/comp/nvcomp_adapter.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@
#include <rmm/cuda_stream_view.hpp>
#include <rmm/device_uvector.hpp>

#include <optional>

namespace cudf::io::nvcomp {

struct batched_args {
Expand Down

0 comments on commit 4bbb658

Please sign in to comment.