Skip to content

Commit 4339e27

Browse files
committed
Updating test cases.
1 parent 89573b2 commit 4339e27

7 files changed

Lines changed: 7 additions & 7 deletions

codecov.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
ignore:
22
- "examples/**"
3-
- "src/*utility*"
3+
- "src/*utility*" # dev-only post-hoc metrics; excluded from coverage
44
- "cmake/**"
55
- "install/**"
66
- "python/**"

examples/cuSZp_test_f32_1D.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ int main()
6767
// Warmup for NVIDIA GPU.
6868
for(int i=0; i<3; i++)
6969
{
70-
cuSZp_compress_1D_fixed_f32(d_oriData, d_cmpBytes, nbEle, &cmpSize1, errorBound, stream);
70+
cuSZp_compress(d_oriData, d_cmpBytes, nbEle, &cmpSize1, errorBound, CUSZP_DIM_1D, {0, 0, 0}, CUSZP_TYPE_FLOAT, CUSZP_MODE_FIXED, stream);
7171
}
7272

7373
// cuSZp-f testing.

examples/cuSZp_test_f32_2D.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ int main()
6868
// Warmup for NVIDIA GPU.
6969
for(int i=0; i<3; i++)
7070
{
71-
cuSZp_compress_2D_fixed_f32(d_oriData, d_cmpBytes, nbEle, &cmpSize1, dims, errorBound, stream);
71+
cuSZp_compress(d_oriData, d_cmpBytes, nbEle, &cmpSize1, errorBound, CUSZP_DIM_2D, dims, CUSZP_TYPE_FLOAT, CUSZP_MODE_FIXED, stream);
7272
}
7373

7474
// cuSZp-f testing.

examples/cuSZp_test_f32_3D.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ int main()
6868
// Warmup for NVIDIA GPU.
6969
for(int i=0; i<3; i++)
7070
{
71-
cuSZp_compress_3D_fixed_f32(d_oriData, d_cmpBytes, nbEle, &cmpSize1, dims, errorBound, stream);
71+
cuSZp_compress(d_oriData, d_cmpBytes, nbEle, &cmpSize1, errorBound, CUSZP_DIM_3D, dims, CUSZP_TYPE_FLOAT, CUSZP_MODE_FIXED, stream);
7272
}
7373

7474
// cuSZp-f testing.

examples/cuSZp_test_f64_1D.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ int main()
6767
// Warmup for NVIDIA GPU.
6868
for(int i=0; i<3; i++)
6969
{
70-
cuSZp_compress_1D_fixed_f64(d_oriData, d_cmpBytes, nbEle, &cmpSize1, errorBound, stream);
70+
cuSZp_compress(d_oriData, d_cmpBytes, nbEle, &cmpSize1, errorBound, CUSZP_DIM_1D, {0, 0, 0}, CUSZP_TYPE_DOUBLE, CUSZP_MODE_FIXED, stream);
7171
}
7272

7373
// cuSZp-f testing.

examples/cuSZp_test_f64_2D.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ int main()
6868
// Warmup for NVIDIA GPU.
6969
for(int i=0; i<3; i++)
7070
{
71-
cuSZp_compress_2D_fixed_f64(d_oriData, d_cmpBytes, nbEle, &cmpSize1, dims, errorBound, stream);
71+
cuSZp_compress(d_oriData, d_cmpBytes, nbEle, &cmpSize1, errorBound, CUSZP_DIM_2D, dims, CUSZP_TYPE_DOUBLE, CUSZP_MODE_FIXED, stream);
7272
}
7373

7474
// cuSZp-f testing.

examples/cuSZp_test_f64_3D.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ int main()
6868
// Warmup for NVIDIA GPU.
6969
for(int i=0; i<3; i++)
7070
{
71-
cuSZp_compress_3D_fixed_f64(d_oriData, d_cmpBytes, nbEle, &cmpSize1, dims, errorBound, stream);
71+
cuSZp_compress(d_oriData, d_cmpBytes, nbEle, &cmpSize1, errorBound, CUSZP_DIM_3D, dims, CUSZP_TYPE_DOUBLE, CUSZP_MODE_FIXED, stream);
7272
}
7373

7474
// cuSZp-f testing.

0 commit comments

Comments
 (0)