mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-04-23 10:09:36 +08:00
fix test of ExtractVolumePatchesOp
This commit is contained in:
parent
4c42d5ee41
commit
a4edb1079c
@ -70,9 +70,9 @@ static void test_entire_volume_patch()
|
||||
const int dy = patch_y - 1;
|
||||
const int dx = patch_x - 1;
|
||||
|
||||
const int forward_pad_z = dz - dz / 2;
|
||||
const int forward_pad_y = dy - dy / 2;
|
||||
const int forward_pad_x = dx - dx / 2;
|
||||
const int forward_pad_z = dz / 2;
|
||||
const int forward_pad_y = dy / 2;
|
||||
const int forward_pad_x = dx / 2;
|
||||
|
||||
for (int pz = 0; pz < patch_z; pz++) {
|
||||
for (int py = 0; py < patch_y; py++) {
|
||||
|
@ -166,9 +166,9 @@ static void test_entire_volume_patch_sycl(const Eigen::SyclDevice& sycl_device)
|
||||
const int dy = patch_y - 1;
|
||||
const int dx = patch_x - 1;
|
||||
|
||||
const int forward_pad_z = dz - dz / 2;
|
||||
const int forward_pad_y = dy - dy / 2;
|
||||
const int forward_pad_x = dx - dx / 2;
|
||||
const int forward_pad_z = dz / 2;
|
||||
const int forward_pad_y = dy / 2;
|
||||
const int forward_pad_x = dx / 2;
|
||||
|
||||
for (int pz = 0; pz < patch_z; pz++) {
|
||||
for (int py = 0; py < patch_y; py++) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user