HILA
Loading...
Searching...
No Matches
gpucub.h
1#ifndef GPUCUB_H_
2#define GPUCUB_H_
3
4// hilapp does not read these, because it does not understand cuda/hip etc.
5#if !defined(HILAPP)
6#if defined(CUDA)
7#include <cub/cub.cuh>
8namespace gpucub = cub;
9#endif
10
11#if defined(HIP)
12#include <hipcub/hipcub.hpp>
13namespace gpucub = hipcub;
14#endif
15#endif // HILAPP
16
17#endif