FZGPUModules 2.0
GPU-accelerated modular compression pipelines
Loading...
Searching...
No Matches
cub.h
Go to the documentation of this file.
1#pragma once
2
25#if defined(FZGMOD_BACKEND_HIP)
26
27#include <hipcub/hipcub.hpp>
28
30namespace cub = hipcub;
31
32#elif defined(FZGMOD_BACKEND_SYCL)
33
34#error "FZGMOD_BACKEND=SYCL is not implemented yet"
35
36#else // FZGMOD_BACKEND_CUDA (default)
37
38#include <cub/cub.cuh>
39
40#endif