diff --git a/juno_samples/rodinia/cfd/src/main.rs b/juno_samples/rodinia/cfd/src/main.rs index 1ce6b89ae370eede1e0ca88c20aeff0f1261b66f..fab241fa6ead74d7ab52c774a6a6b0c6984426cc 100644 --- a/juno_samples/rodinia/cfd/src/main.rs +++ b/juno_samples/rodinia/cfd/src/main.rs @@ -151,7 +151,7 @@ fn cfd_harness(args: CFDInputs) { pre_euler, } = args; - assert!(block_size % 8 == 0, "Hercules expects all arrays to be 32-byte aligned, cfd uses structs of arrays that are annoying to deal with if the block_size is not a multiple of 8"); + assert!(block_size % 16 == 0, "Hercules expects all arrays to be 64-byte aligned, cfd uses structs of arrays that are annoying to deal with if the block_size is not a multiple of 16"); let FarFieldConditions { ff_variable, @@ -245,7 +245,7 @@ fn test_euler() { cfd_harness(CFDInputs { data_file: "data/fvcorr.domn.097K".to_string(), iterations: 1, - block_size: 8, + block_size: 16, pre_euler: false, }); } @@ -255,7 +255,7 @@ fn test_pre_euler() { cfd_harness(CFDInputs { data_file: "data/fvcorr.domn.097K".to_string(), iterations: 1, - block_size: 8, + block_size: 16, pre_euler: true, }); }