Skip to content

Commit

Permalink
include cuda_runtime in cu.hpp (#297)
Browse files Browse the repository at this point in the history
* include cuda_runtime in cu.hpp
---------

Co-authored-by: Bram Veenboer <[email protected]>
  • Loading branch information
loostrum and csbnw authored Jul 23, 2024
1 parent 5098d73 commit a8fb18a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/cudawrappers/cu.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
#include <vector>

#if !defined(__HIP__)
#include <cuda_runtime.h>

#include <cuda.h>
#else
#include <hip/hip_runtime.h>
Expand Down

0 comments on commit a8fb18a

Please sign in to comment.