Skip to content

Commit

Permalink
Add template instantiations for type int32.
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-rapp committed Oct 12, 2023
1 parent 9dc6b44 commit 6337019
Show file tree
Hide file tree
Showing 18 changed files with 52 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ namespace boosting {

template class NumericCContiguousMatrix<uint8>;
template class NumericCContiguousMatrix<uint32>;
template class NumericCContiguousMatrix<int32>;
template class NumericCContiguousMatrix<int64>;
template class NumericCContiguousMatrix<float32>;
template class NumericCContiguousMatrix<float64>;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ namespace boosting {

template class NumericSparseSetMatrix<uint8>;
template class NumericSparseSetMatrix<uint32>;
template class NumericSparseSetMatrix<int32>;
template class NumericSparseSetMatrix<int64>;
template class NumericSparseSetMatrix<float32>;
template class NumericSparseSetMatrix<float64>;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ namespace boosting {

template class DiagonalConstIterator<uint8>;
template class DiagonalConstIterator<uint32>;
template class DiagonalConstIterator<int32>;
template class DiagonalConstIterator<int64>;
template class DiagonalConstIterator<float32>;
template class DiagonalConstIterator<float64>;
Expand Down
6 changes: 6 additions & 0 deletions cpp/subprojects/common/src/mlrl/common/data/list_of_lists.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -58,31 +58,37 @@ void ListOfLists<T>::clear() {

template class ListOfLists<uint8>;
template class ListOfLists<uint32>;
template class ListOfLists<int32>;
template class ListOfLists<int64>;
template class ListOfLists<float32>;
template class ListOfLists<float64>;
template class ListOfLists<IndexedValue<uint8>>;
template class ListOfLists<IndexedValue<uint32>>;
template class ListOfLists<IndexedValue<int32>>;
template class ListOfLists<IndexedValue<int64>>;
template class ListOfLists<IndexedValue<float32>>;
template class ListOfLists<IndexedValue<float64>>;
template class ListOfLists<Tuple<uint8>>;
template class ListOfLists<Tuple<uint32>>;
template class ListOfLists<Tuple<int32>>;
template class ListOfLists<Tuple<int64>>;
template class ListOfLists<Tuple<float32>>;
template class ListOfLists<Tuple<float64>>;
template class ListOfLists<IndexedValue<Tuple<uint8>>>;
template class ListOfLists<IndexedValue<Tuple<uint32>>>;
template class ListOfLists<IndexedValue<Tuple<int32>>>;
template class ListOfLists<IndexedValue<Tuple<int64>>>;
template class ListOfLists<IndexedValue<Tuple<float32>>>;
template class ListOfLists<IndexedValue<Tuple<float64>>>;
template class ListOfLists<Triple<uint8>>;
template class ListOfLists<Triple<uint32>>;
template class ListOfLists<Triple<int32>>;
template class ListOfLists<Triple<int64>>;
template class ListOfLists<Triple<float32>>;
template class ListOfLists<Triple<float64>>;
template class ListOfLists<IndexedValue<Triple<uint8>>>;
template class ListOfLists<IndexedValue<Triple<uint32>>>;
template class ListOfLists<IndexedValue<Triple<int32>>>;
template class ListOfLists<IndexedValue<Triple<int64>>>;
template class ListOfLists<IndexedValue<Triple<float32>>>;
template class ListOfLists<IndexedValue<Triple<float64>>>;
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ CContiguousMatrix<T>::~CContiguousMatrix() {

template class CContiguousMatrix<uint8>;
template class CContiguousMatrix<uint32>;
template class CContiguousMatrix<int32>;
template class CContiguousMatrix<int64>;
template class CContiguousMatrix<float32>;
template class CContiguousMatrix<float64>;
Original file line number Diff line number Diff line change
Expand Up @@ -184,16 +184,19 @@ void SparseSetMatrix<T>::clear() {

template class SparseSetMatrix<uint8>;
template class SparseSetMatrix<uint32>;
template class SparseSetMatrix<int32>;
template class SparseSetMatrix<int64>;
template class SparseSetMatrix<float32>;
template class SparseSetMatrix<float64>;
template class SparseSetMatrix<Tuple<uint8>>;
template class SparseSetMatrix<Tuple<uint32>>;
template class SparseSetMatrix<Tuple<int32>>;
template class SparseSetMatrix<Tuple<int64>>;
template class SparseSetMatrix<Tuple<float32>>;
template class SparseSetMatrix<Tuple<float64>>;
template class SparseSetMatrix<Triple<uint8>>;
template class SparseSetMatrix<Triple<uint32>>;
template class SparseSetMatrix<Triple<int32>>;
template class SparseSetMatrix<Triple<int64>>;
template class SparseSetMatrix<Triple<float32>>;
template class SparseSetMatrix<Triple<float64>>;
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ std::pair<bool, T> RingBuffer<T>::push(T value) {

template class RingBuffer<uint8>;
template class RingBuffer<uint32>;
template class RingBuffer<int32>;
template class RingBuffer<int64>;
template class RingBuffer<float32>;
template class RingBuffer<float64>;
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ void DenseBinnedVector<T>::setNumBins(uint32 numBins, bool freeMemory) {

template class DenseBinnedVector<uint8>;
template class DenseBinnedVector<uint32>;
template class DenseBinnedVector<int32>;
template class DenseBinnedVector<int64>;
template class DenseBinnedVector<float32>;
template class DenseBinnedVector<float64>;
6 changes: 6 additions & 0 deletions cpp/subprojects/common/src/mlrl/common/data/vector_dense.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,31 +36,37 @@ void DenseVector<T>::setNumElements(uint32 numElements, bool freeMemory) {

template class DenseVector<uint8>;
template class DenseVector<uint32>;
template class DenseVector<int32>;
template class DenseVector<int64>;
template class DenseVector<float32>;
template class DenseVector<float64>;
template class DenseVector<IndexedValue<uint8>>;
template class DenseVector<IndexedValue<uint32>>;
template class DenseVector<IndexedValue<int32>>;
template class DenseVector<IndexedValue<int64>>;
template class DenseVector<IndexedValue<float32>>;
template class DenseVector<IndexedValue<float64>>;
template class DenseVector<Tuple<uint8>>;
template class DenseVector<Tuple<uint32>>;
template class DenseVector<Tuple<int32>>;
template class DenseVector<Tuple<int64>>;
template class DenseVector<Tuple<float32>>;
template class DenseVector<Tuple<float64>>;
template class DenseVector<IndexedValue<Tuple<uint8>>>;
template class DenseVector<IndexedValue<Tuple<uint32>>>;
template class DenseVector<IndexedValue<Tuple<int32>>>;
template class DenseVector<IndexedValue<Tuple<int64>>>;
template class DenseVector<IndexedValue<Tuple<float32>>>;
template class DenseVector<IndexedValue<Tuple<float64>>>;
template class DenseVector<Triple<uint8>>;
template class DenseVector<Triple<uint32>>;
template class DenseVector<Triple<int32>>;
template class DenseVector<Triple<int64>>;
template class DenseVector<Triple<float32>>;
template class DenseVector<Triple<float64>>;
template class DenseVector<IndexedValue<Triple<uint8>>>;
template class DenseVector<IndexedValue<Triple<uint32>>>;
template class DenseVector<IndexedValue<Triple<int32>>>;
template class DenseVector<IndexedValue<Triple<int64>>>;
template class DenseVector<IndexedValue<Triple<float32>>>;
template class DenseVector<IndexedValue<Triple<float64>>>;
1 change: 1 addition & 0 deletions cpp/subprojects/common/src/mlrl/common/data/vector_dok.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ void DokVector<T>::clear() {

template class DokVector<uint8>;
template class DokVector<uint32>;
template class DokVector<int32>;
template class DokVector<int64>;
template class DokVector<float32>;
template class DokVector<float64>;
Original file line number Diff line number Diff line change
Expand Up @@ -272,16 +272,19 @@ typename SparseArrayVector<T>::value_const_iterator SparseArrayVector<T>::values

template class SparseArrayVector<uint8>;
template class SparseArrayVector<uint32>;
template class SparseArrayVector<int32>;
template class SparseArrayVector<int64>;
template class SparseArrayVector<float32>;
template class SparseArrayVector<float64>;
template class SparseArrayVector<Tuple<uint8>>;
template class SparseArrayVector<Tuple<uint32>>;
template class SparseArrayVector<Tuple<int32>>;
template class SparseArrayVector<Tuple<int64>>;
template class SparseArrayVector<Tuple<float32>>;
template class SparseArrayVector<Tuple<float64>>;
template class SparseArrayVector<Triple<uint8>>;
template class SparseArrayVector<Triple<uint32>>;
template class SparseArrayVector<Triple<int32>>;
template class SparseArrayVector<Triple<int64>>;
template class SparseArrayVector<Triple<float32>>;
template class SparseArrayVector<Triple<float64>>;
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ uint32 SparseArraysVector<T>::getNumElements() const {

template class SparseArraysVector<uint8>;
template class SparseArraysVector<uint32>;
template class SparseArraysVector<int32>;
template class SparseArraysVector<int64>;
template class SparseArraysVector<float32>;
template class SparseArraysVector<float64>;
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ template class CContiguousConstView<uint8>;
template class CContiguousConstView<const uint8>;
template class CContiguousConstView<uint32>;
template class CContiguousConstView<const uint32>;
template class CContiguousConstView<int32>;
template class CContiguousConstView<const int32>;
template class CContiguousConstView<int64>;
template class CContiguousConstView<const int64>;
template class CContiguousConstView<float32>;
Expand All @@ -51,6 +53,7 @@ typename CContiguousView<T>::value_iterator CContiguousView<T>::values_end(uint3

template class CContiguousView<uint8>;
template class CContiguousView<uint32>;
template class CContiguousView<int32>;
template class CContiguousView<int64>;
template class CContiguousView<float32>;
template class CContiguousView<float64>;
3 changes: 3 additions & 0 deletions cpp/subprojects/common/src/mlrl/common/data/view_csc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ template class CscConstView<uint32>;
template class CscConstView<const uint32>;
template class CscConstView<int64>;
template class CscConstView<const int64>;
template class CscConstView<int32>;
template class CscConstView<const int32>;
template class CscConstView<float32>;
template class CscConstView<const float32>;
template class CscConstView<float64>;
Expand Down Expand Up @@ -76,6 +78,7 @@ typename CscView<T>::index_iterator CscView<T>::indices_end(uint32 col) {

template class CscView<uint8>;
template class CscView<uint32>;
template class CscView<int32>;
template class CscView<int64>;
template class CscView<float32>;
template class CscView<float64>;
3 changes: 3 additions & 0 deletions cpp/subprojects/common/src/mlrl/common/data/view_csr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ template class CsrConstView<uint32>;
template class CsrConstView<const uint32>;
template class CsrConstView<int64>;
template class CsrConstView<const int64>;
template class CsrConstView<int32>;
template class CsrConstView<const int32>;
template class CsrConstView<float32>;
template class CsrConstView<const float32>;
template class CsrConstView<float64>;
Expand Down Expand Up @@ -76,6 +78,7 @@ typename CsrView<T>::index_iterator CsrView<T>::indices_end(uint32 row) {

template class CsrView<uint8>;
template class CsrView<uint32>;
template class CsrView<int32>;
template class CsrView<int64>;
template class CsrView<float32>;
template class CsrView<float64>;
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ template class FortranContiguousConstView<uint8>;
template class FortranContiguousConstView<const uint8>;
template class FortranContiguousConstView<uint32>;
template class FortranContiguousConstView<const uint32>;
template class FortranContiguousConstView<int32>;
template class FortranContiguousConstView<const int32>;
template class FortranContiguousConstView<int64>;
template class FortranContiguousConstView<const int64>;
template class FortranContiguousConstView<float32>;
Expand All @@ -53,6 +55,7 @@ typename FortranContiguousView<T>::value_iterator FortranContiguousView<T>::valu

template class FortranContiguousView<uint8>;
template class FortranContiguousView<uint32>;
template class FortranContiguousView<int32>;
template class FortranContiguousView<int64>;
template class FortranContiguousView<float32>;
template class FortranContiguousView<float64>;
13 changes: 13 additions & 0 deletions cpp/subprojects/common/src/mlrl/common/data/view_vector.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ template class VectorConstView<uint8>;
template class VectorConstView<const uint8>;
template class VectorConstView<uint32>;
template class VectorConstView<const uint32>;
template class VectorConstView<int32>;
template class VectorConstView<const int32>;
template class VectorConstView<int64>;
template class VectorConstView<const int64>;
template class VectorConstView<float32>;
Expand All @@ -39,26 +41,31 @@ template class VectorConstView<float64>;
template class VectorConstView<const float64>;
template class VectorConstView<IndexedValue<uint8>>;
template class VectorConstView<IndexedValue<uint32>>;
template class VectorConstView<IndexedValue<int32>>;
template class VectorConstView<IndexedValue<int64>>;
template class VectorConstView<IndexedValue<float32>>;
template class VectorConstView<IndexedValue<float64>>;
template class VectorConstView<Tuple<uint8>>;
template class VectorConstView<Tuple<uint32>>;
template class VectorConstView<Tuple<int32>>;
template class VectorConstView<Tuple<int64>>;
template class VectorConstView<Tuple<float32>>;
template class VectorConstView<Tuple<float64>>;
template class VectorConstView<IndexedValue<Tuple<uint8>>>;
template class VectorConstView<IndexedValue<Tuple<uint32>>>;
template class VectorConstView<IndexedValue<Tuple<int32>>>;
template class VectorConstView<IndexedValue<Tuple<int64>>>;
template class VectorConstView<IndexedValue<Tuple<float32>>>;
template class VectorConstView<IndexedValue<Tuple<float64>>>;
template class VectorConstView<Triple<uint8>>;
template class VectorConstView<Triple<uint32>>;
template class VectorConstView<Triple<int32>>;
template class VectorConstView<Triple<int64>>;
template class VectorConstView<Triple<float32>>;
template class VectorConstView<Triple<float64>>;
template class VectorConstView<IndexedValue<Triple<uint8>>>;
template class VectorConstView<IndexedValue<Triple<uint32>>>;
template class VectorConstView<IndexedValue<Triple<int32>>>;
template class VectorConstView<IndexedValue<Triple<int64>>>;
template class VectorConstView<IndexedValue<Triple<float32>>>;
template class VectorConstView<IndexedValue<Triple<float64>>>;
Expand Down Expand Up @@ -88,31 +95,37 @@ T& VectorView<T>::operator[](uint32 pos) {

template class VectorView<uint8>;
template class VectorView<uint32>;
template class VectorView<int32>;
template class VectorView<int64>;
template class VectorView<float32>;
template class VectorView<float64>;
template class VectorView<IndexedValue<uint8>>;
template class VectorView<IndexedValue<uint32>>;
template class VectorView<IndexedValue<int32>>;
template class VectorView<IndexedValue<int64>>;
template class VectorView<IndexedValue<float32>>;
template class VectorView<IndexedValue<float64>>;
template class VectorView<Tuple<uint8>>;
template class VectorView<Tuple<uint32>>;
template class VectorView<Tuple<int32>>;
template class VectorView<Tuple<int64>>;
template class VectorView<Tuple<float32>>;
template class VectorView<Tuple<float64>>;
template class VectorView<IndexedValue<Tuple<uint8>>>;
template class VectorView<IndexedValue<Tuple<uint32>>>;
template class VectorView<IndexedValue<Tuple<int32>>>;
template class VectorView<IndexedValue<Tuple<int64>>>;
template class VectorView<IndexedValue<Tuple<float32>>>;
template class VectorView<IndexedValue<Tuple<float64>>>;
template class VectorView<Triple<uint8>>;
template class VectorView<Triple<uint32>>;
template class VectorView<Triple<int32>>;
template class VectorView<Triple<int64>>;
template class VectorView<Triple<float32>>;
template class VectorView<Triple<float64>>;
template class VectorView<IndexedValue<Triple<uint8>>>;
template class VectorView<IndexedValue<Triple<uint32>>>;
template class VectorView<IndexedValue<Triple<int32>>>;
template class VectorView<IndexedValue<Triple<int64>>>;
template class VectorView<IndexedValue<Triple<float32>>>;
template class VectorView<IndexedValue<Triple<float64>>>;
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ T* DensePredictionMatrix<T>::release() {

template class DensePredictionMatrix<uint8>;
template class DensePredictionMatrix<uint32>;
template class DensePredictionMatrix<int32>;
template class DensePredictionMatrix<int64>;
template class DensePredictionMatrix<float32>;
template class DensePredictionMatrix<float64>;

0 comments on commit 6337019

Please sign in to comment.