12 #include "../utils/Float16.cuh"
13 #include "../utils/Tensor.cuh"
15 namespace faiss {
namespace gpu {
18 void runSumAlongColumns(Tensor<float, 1, true>& input,
19 Tensor<float, 2, true>& output,
22 #ifdef FAISS_USE_FLOAT16
23 void runSumAlongColumns(Tensor<half, 1, true>& input,
24 Tensor<half, 2, true>& output,
29 void runAssignAlongColumns(Tensor<float, 1, true>& input,
30 Tensor<float, 2, true>& output,
33 #ifdef FAISS_USE_FLOAT16
34 void runAssignAlongColumns(Tensor<half, 1, true>& input,
35 Tensor<half, 2, true>& output,
41 void runSumAlongRows(Tensor<float, 1, true>& input,
42 Tensor<float, 2, true>& output,
46 #ifdef FAISS_USE_FLOAT16
47 void runSumAlongRows(Tensor<half, 1, true>& input,
48 Tensor<half, 2, true>& output,