mirror of
https://gitlab.com/libeigen/eigen.git
synced 2024-12-27 07:29:52 +08:00
Allocate non-const scalar buffer for block evaluation with DefaultDevice
This commit is contained in:
parent
ffaf658ecd
commit
4ac93f8edc
@ -189,7 +189,7 @@ class TensorExecutor<Expression, DefaultDevice, Vectorizable,
|
||||
block_total_size);
|
||||
block_total_size = block_mapper.block_dims_total_size();
|
||||
|
||||
Scalar* data = static_cast<Scalar*>(
|
||||
ScalarNoConst* data = static_cast<ScalarNoConst*>(
|
||||
device.allocate(block_total_size * sizeof(Scalar)));
|
||||
|
||||
const StorageIndex total_block_count = block_mapper.total_block_count();
|
||||
|
Loading…
Reference in New Issue
Block a user