24 #ifndef TILEDARRAY_CUDA_MULT_KERNEL_H__INCLUDED
25 #define TILEDARRAY_CUDA_MULT_KERNEL_H__INCLUDED
27 #include <TiledArray/config.h>
29 #ifdef TILEDARRAY_HAS_CUDA
34 void mult_to_cuda_kernel(
int *result,
const int *arg, std::size_t n,
35 cudaStream_t stream,
int device_id);
37 void mult_to_cuda_kernel(
float *result,
const float *arg, std::size_t n,
38 cudaStream_t stream,
int device_id);
40 void mult_to_cuda_kernel(
double *result,
const double *arg, std::size_t n,
41 cudaStream_t stream,
int device_id);
44 void mult_cuda_kernel(
int *result,
const int *arg1,
const int *arg2,
45 std::size_t n, cudaStream_t stream,
int device_id);
47 void mult_cuda_kernel(
float *result,
const float *arg1,
const float *arg2,
48 std::size_t n, cudaStream_t stream,
int device_id);
50 void mult_cuda_kernel(
double *result,
const double *arg1,
const double *arg2,
51 std::size_t n, cudaStream_t stream,
int device_id);
55 #endif // TILEDARRAY_HAS_CUDA
57 #endif // TILEDARRAY_CUDA_MULT_KERNEL_H__INCLUDED