Skip to content

Commit

Permalink
Add missing DLL exports.
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-rapp committed Aug 19, 2024
1 parent f95c1d9 commit b407be6
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
*/
#pragma once

#include "mlrl/boosting/util/dll_exports.hpp"
#include "mlrl/common/data/view_matrix_bit.hpp"
#include "mlrl/common/data/view_matrix_composite.hpp"

Expand All @@ -12,7 +13,7 @@ namespace boosting {
* Implements row-wise read and write access to the gradients and Hessians that have been calculated using a
* decomposable loss function and are stored in pre-allocated bit matrices.
*/
class BitDecomposableStatisticView
class MLRLBOOSTING_API BitDecomposableStatisticView
: public CompositeMatrix<AllocatedBitMatrix<uint32>, AllocatedBitMatrix<uint32>> {
public:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* A view that provides random access to integer values, each with a specific number of bits, stored in a pre-allocated
* array of a specific size.
*/
class BitView : public BaseView<uint32> {
class MLRLCOMMON_API BitView : public BaseView<uint32> {
public:

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
* @tparam T The type of the integer values, the view provides access to
*/
template<typename T>
class BitMatrix : public BitView,
public Matrix {
class MLRLCOMMON_API BitMatrix : public BitView,
public Matrix {
private:

uint32 numElementsPerRow;
Expand Down Expand Up @@ -86,7 +86,7 @@ class BitMatrix : public BitView,
* @tparam BitMatrix The type of the bit matrix
*/
template<typename BitMatrix>
class BitMatrixAllocator : public BitMatrix {
class MLRLCOMMON_API BitMatrixAllocator : public BitMatrix {
public:

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* @param T The type of the integer values, the view provides access to
*/
template<typename T>
class BitVector : public BitView {
class MLRLCOMMON_API BitVector : public BitView {
private:

static inline constexpr uint32 NUM_BITS = util::bits<uint32>();
Expand Down Expand Up @@ -119,7 +119,7 @@ class BitVector : public BitView {
* @tparam BitVector The type of the bit vector
*/
template<typename BitVector>
class BitVectorAllocator : public BitVector {
class MLRLCOMMON_API BitVectorAllocator : public BitVector {
public:

/**
Expand Down

0 comments on commit b407be6

Please sign in to comment.