Skip to content

Commit

Permalink
Fixes #515: Added missing forward-declarations and an inclusion for a…
Browse files Browse the repository at this point in the history
… context existence ensurer gadget
  • Loading branch information
eyalroz committed May 15, 2023
1 parent ebe8709 commit 5f1396e
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/cuda/api/memory_pool.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,12 @@ struct reuse_policy_t {
bool allow_waiting_for_frees;
};

namespace ipc {

class imported_ptr_t;

} // namespace ipc

} // namespace pool


Expand Down
6 changes: 6 additions & 0 deletions src/cuda/api/stream.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,12 @@ class device_t;
class event_t;
class stream_t;

namespace memory {

class pool_t;

} // namespace memory

namespace stream {

// Use this for the second argument to create_on_current_device()
Expand Down
1 change: 1 addition & 0 deletions src/cuda/nvtx/profiling.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
#include "../api/stream.hpp"
#include "../api/event.hpp"
#include "../api/device.hpp"
#include "../api/multi_wrapper_impls/context.hpp"

#include <cudaProfiler.h>

Expand Down

0 comments on commit 5f1396e

Please sign in to comment.