We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 61db96e commit c70256cCopy full SHA for c70256c
src/runtime/hexagon/hexagon/hexagon_buffer.cc
@@ -51,7 +51,7 @@ struct DDRAllocation : public Allocation {
51
DDRAllocation(size_t nbytes, size_t alignment) : Allocation(nbytes, alignment) {
52
#ifdef _WIN32
53
data_ = _aligned_malloc(nbytes, alignment);
54
- CHECK(data != nullptr);
+ CHECK(data_ != nullptr);
55
#else
56
int ret = posix_memalign(&data_, alignment, nbytes);
57
CHECK_EQ(ret, 0);
0 commit comments