Skip to content

Commit 5ce247e

Browse files
committed
Fix comments mismatch
1 parent 110ac2c commit 5ce247e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/loader/layers/sanitizer/asan_buffer.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,8 +120,8 @@ ur_result_t MemBuffer::free() {
120120
}
121121

122122
size_t MemBuffer::getAlignment() {
123-
// Choose an alignment that is at most 64 and is the next power of 2
124-
// for sizes less than 64.
123+
// Choose an alignment that is at most 128 and is the next power of 2
124+
// for sizes less than 128.
125125
// TODO: If we don't set the alignment size explicitly, the device will
126126
// usually choose a very large size (more than 1k). Then sanitizer will
127127
// allocate extra unnessary memory. Not sure if this will impact

0 commit comments

Comments
 (0)