Skip to content

Commit

Permalink
Merge branch 'ar/flip_voxel' into sr/flip_pr_changes
Browse files Browse the repository at this point in the history
  • Loading branch information
sampath1117 committed Mar 7, 2024
2 parents acfb923 + dc05835 commit 28bc8d9
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 6 deletions.
4 changes: 3 additions & 1 deletion include/rppdefs.h
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,10 @@ typedef enum
RPP_ERROR_NOT_ENOUGH_MEMORY = -16,
/*! \brief Out of bound source ROI \ingroup group_rppdefs */
RPP_ERROR_OUT_OF_BOUND_SRC_ROI = -17,
/*! \brief src and dst layout mismatch \ingroup group_rppdefs */
RPP_ERROR_SRC_DST_LAYOUT_MISMATCH = -18,
/*! \brief Number of channels is invalid. (Needs to adhere to function specification.) \ingroup group_rppdefs */
RPP_ERROR_INVALID_CHANNELS = -18
RPP_ERROR_INVALID_CHANNELS = -19
} RppStatus;

/*! \brief RPP rppStatus_t type enums
Expand Down
4 changes: 2 additions & 2 deletions utilities/test_suite/HIP/runTests_voxel.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,8 +144,8 @@ def rpp_test_suite_parser_and_validator():
parser = argparse.ArgumentParser()
parser.add_argument("--header_path", type = str, default = headerFilePath, help = "Path to the nii header")
parser.add_argument("--data_path", type = str, default = dataFilePath, help = "Path to the nii data file")
parser.add_argument("--case_start", type = int, default = caseMin, help = "Testing start case # - Range must be in [" + str(caseMin) + ":" + str(caseMax) + "]")
parser.add_argument("--case_end", type = int, default = caseMax, help = "Testing start case # - Range must be in [" + str(caseMin) + ":" + str(caseMax) + "]")
parser.add_argument("--case_start", type = int, default = caseMin, help = "Testing range starting case # - Range must be in [" + str(caseMin) + ":" + str(caseMax) + "]")
parser.add_argument("--case_end", type = int, default = caseMax, help = "Testing range ending case # - Range must be in [" + str(caseMin) + ":" + str(caseMax) + "]")
parser.add_argument('--test_type', type = int, default = 0, help = "Type of Test - (0 = Unit tests / 1 = Performance tests)")
parser.add_argument('--case_list', nargs = "+", help = "List of case numbers to list", required = False)
parser.add_argument('--profiling', type = str , default = 'NO', help = 'Run with profiler? - (YES/NO)', required = False)
Expand Down
2 changes: 1 addition & 1 deletion utilities/test_suite/HOST/Tensor_voxel_host.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ int main(int argc, char * argv[])
startWallTime = omp_get_wtime();
if (inputBitDepth == 0)
rppt_flip_voxel_host(inputU8, descriptorPtr3D, outputU8, descriptorPtr3D, horizontalTensor, verticalTensor, depthTensor, roiGenericSrcPtr, roiTypeSrc, handle);
else if(inputBitDepth == 2)
else if (inputBitDepth == 2)
rppt_flip_voxel_host(inputF32, descriptorPtr3D, outputF32, descriptorPtr3D, horizontalTensor, verticalTensor, depthTensor, roiGenericSrcPtr, roiTypeSrc, handle);
else
missingFuncFlag = 1;
Expand Down
4 changes: 2 additions & 2 deletions utilities/test_suite/HOST/runTests_voxel.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,8 @@ def rpp_test_suite_parser_and_validator():
parser = argparse.ArgumentParser()
parser.add_argument("--header_path", type = str, default = headerFilePath, help = "Path to the nii header")
parser.add_argument("--data_path", type = str, default = dataFilePath, help = "Path to the nii data file")
parser.add_argument("--case_start", type = int, default = caseMin, help = "Testing start case # - Range must be in [" + str(caseMin) + ":" + str(caseMax) + "]")
parser.add_argument("--case_end", type = int, default = caseMax, help = "Testing start case # - Range must be in [" + str(caseMin) + ":" + str(caseMax) + "]")
parser.add_argument("--case_start", type = int, default = caseMin, help = "Testing range starting case # - Range must be in [" + str(caseMin) + ":" + str(caseMax) + "]")
parser.add_argument("--case_end", type = int, default = caseMax, help = "Testing range ending case # - Range must be in [" + str(caseMin) + ":" + str(caseMax) + "]")
parser.add_argument('--test_type', type = int, default = 0, help = "Type of Test - (0 = Unit tests / 1 = Performance tests)")
parser.add_argument('--case_list', nargs = "+", help = "List of case numbers to list", required = False)
parser.add_argument('--qa_mode', type = int, default = 0, help = "Run with qa_mode? Output images from tests will be compared with golden outputs - (0 / 1)", required = False)
Expand Down

0 comments on commit 28bc8d9

Please sign in to comment.