Replaced GoogleTest copy with submodule. Added updates to support intra-threadblock reductions. Added tests for same.

This commit is contained in:
akerr
2018-06-11 11:47:15 -07:00
parent 2c496c3e9e
commit 374882be53
40 changed files with 3279 additions and 336 deletions

View File

@ -109,6 +109,9 @@ class HostTensor : public HostTensorView<T> {
host_.clear();
host_.resize(_capacity);
for (size_t i = 0; i < _capacity; ++i) {
host_[i] = T((int)0xdeadbeef);
}
device_.reset(_device_memory, _capacity);
Base::reset(TensorRef_t(host_.data(), _stride), _size);