mirror of https://github.com/google/gemma.cpp.git
Fix compilation error on G++ 9.4
This commit is contained in:
parent
6897313080
commit
a82f8d5690
|
|
@ -367,7 +367,7 @@ static void MapAll(const std::vector<TensorToRead>& tensors,
|
||||||
// Mode == kReadBF16:
|
// Mode == kReadBF16:
|
||||||
|
|
||||||
template <typename T>
|
template <typename T>
|
||||||
static void DecompressToBF16(const MatPtr& mat,
|
static void DecompressToBF16(MatPtr& mat,
|
||||||
const hwy::AlignedFreeUniquePtr<uint8_t[]>& buf) {
|
const hwy::AlignedFreeUniquePtr<uint8_t[]>& buf) {
|
||||||
hwy::HWY_NAMESPACE::ScalableTag<BF16> dbf;
|
hwy::HWY_NAMESPACE::ScalableTag<BF16> dbf;
|
||||||
const size_t cols = mat.Cols();
|
const size_t cols = mat.Cols();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue