btas_um_tensor.cpp
Go to the documentation of this file.
1 //
2 // Created by Chong Peng on 7/24/18.
3 //
4 
5 // clang-format off
6 #include <btas/array_adaptor.h> // provides c++17 features (stds::data, std::size) when compiling CUDA (i.e. c++14)
8 // clang-format on
9 
10 #ifdef TILEDARRAY_HAS_CUDA
11 
12 template class btas::varray<double, TiledArray::cuda_um_allocator<double>>;
13 template class btas::varray<float, TiledArray::cuda_um_allocator<float>>;
14 template class btas::varray<int, TiledArray::cuda_um_allocator<int>>;
15 template class btas::varray<long, TiledArray::cuda_um_allocator<long>>;
16 
17 template class btas::Tensor<double, TiledArray::Range,
18  TiledArray::cuda_um_btas_varray<double>>;
19 template class btas::Tensor<float, TiledArray::Range,
20  TiledArray::cuda_um_btas_varray<float>>;
21 template class btas::Tensor<int, TiledArray::Range,
22  TiledArray::cuda_um_btas_varray<int>>;
23 template class btas::Tensor<long, TiledArray::Range,
24  TiledArray::cuda_um_btas_varray<long>>;
25 
26 template class TiledArray::Tile<btas::Tensor<
27  double, TiledArray::Range, TiledArray::cuda_um_btas_varray<double>>>;
28 template class TiledArray::Tile<btas::Tensor<
29  float, TiledArray::Range, TiledArray::cuda_um_btas_varray<float>>>;
30 template class TiledArray::Tile<
31  btas::Tensor<int, TiledArray::Range, TiledArray::cuda_um_btas_varray<int>>>;
32 template class TiledArray::Tile<btas::Tensor<
33  long, TiledArray::Range, TiledArray::cuda_um_btas_varray<long>>>;
34 
35 #endif // TILEDARRAY_HAS_CUDA
An N-dimensional shallow copy wrapper for tile objects.
Definition: tile.h:82
A (hyperrectangular) interval on , space of integer -indices.
Definition: range.h:46