xgboost
|
#include <xgboost/base.h>
#include <cmath>
#include <cstddef>
#include <algorithm>
#include "common.h"
Go to the source code of this file.
Classes | |
class | xgboost::common::CompressedBufferWriter |
Writes bit compressed symbols to a memory buffer. Use CompressedIterator to read symbols back from buffer. Currently limited to a maximum symbol size of 28 bits. More... | |
class | xgboost::common::CompressedIterator< T > |
Read symbols from a bit compressed memory buffer. Usable on device and host. More... | |
Namespaces | |
xgboost | |
namespace of xgboost | |
xgboost::common | |
xgboost::common::detail | |
Typedefs | |
using | xgboost::common::CompressedByteT = unsigned char |
Functions | |
void | xgboost::common::detail::SetBit (CompressedByteT *byte, int bit_idx) |
template<typename T > | |
T | xgboost::common::detail::CheckBit (const T &byte, int bit_idx) |
void | xgboost::common::detail::ClearBit (CompressedByteT *byte, int bit_idx) |
XGBOOST_DEVICE size_t | xgboost::common::detail::SymbolBits (size_t num_symbols) |
Copyright 2017 by Contributors