Skip to content

Commit

Permalink
benchdnn: large alignment is no longer needed
Browse files Browse the repository at this point in the history
  • Loading branch information
tprimak committed Aug 16, 2019
1 parent 698d9cc commit 5414333
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/benchdnn/mkldnn_memory.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ struct dnn_mem_t {
if (is_cpu_native_) {
// Allocate memory for native backend directly
is_data_owner_ = true;
const size_t alignment = 1024 * 1024 * 16;
const size_t alignment = 64;
size_t sz = mkldnn_memory_desc_get_size(&md_);
data_ = zmalloc(sz, alignment);
DNN_SAFE(data_ == NULL ? mkldnn_out_of_memory : mkldnn_success,
Expand Down

0 comments on commit 5414333

Please sign in to comment.