Skip to content

Commit 1b8d2a8

Browse files
committed
fix mr pool options test
1 parent d1383e5 commit 1b8d2a8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

thrust/testing/mr_pool_options.cu

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ void TestPoolOptionsBasicValidity()
1111
options.max_bytes_per_chunk = 1024 * 1024;
1212
options.smallest_block_size = 8;
1313
options.largest_block_size = 1024;
14+
options.alignment = 4;
1415
ASSERT_EQUAL(options.validate(), true);
1516

1617
// the minimum number of blocks per chunk is bigger than the max
@@ -42,6 +43,7 @@ void TestPoolOptionsComplexValidity()
4243
options.max_bytes_per_chunk = 1024 * 1024;
4344
options.smallest_block_size = 8;
4445
options.largest_block_size = 1024;
46+
options.alignment = 4;
4547
ASSERT_EQUAL(options.validate(), true);
4648

4749
options.min_bytes_per_chunk = 2 * 1024;

0 commit comments

Comments
 (0)