Test for Algorithm and Runtime Compiler
Release 0.7.12
Development on SuperTest+
- Add the following test code
- STPTestPermutation for
STPPermutationGenerator. - STPTestHistogram for
STPSingleHistogramGenerator. - STPTestRTC for
STPDiversityGeneratorRTC.
- STPTestPermutation for
- Update
STPConsoleReporterto address some important bug fixes in the latest version ofCatch2:
See catchorg/Catch2@e593800 and catchorg/Catch2@290c1b6 for the details of changes.
General fixes and improvement
- Replace all
doublewithfloatinSTPPermutationGeneratorin host algorithm library andSTPSimplexNoisein device algorithm library. - Simplify permutation table generation with
glm. - Make the constructor for
STPFreeSlipManagerpublic and removeSTPFreeSlipGeneratoras its friend class. - Fix an incorrect pre-launch argument check in
STPSingleHistogramFilter. - Add a
cudaFree(0)call inSTPEngineInitialiserto enforce context creation at startup. - Fix an incorrect cache loading operation during rendering buffer generation which causes
intto be implicitly-casted tounsigned intand underflow toUINT32_MAXinstead of -1 as expected.
Visually it's unaffected when free-slip erosion is turned on because selective edge copy prevents rendering buffer generator from modifying the edge pixel.
- Adjust the working directory for the test target.
- Case valued variable to
uintptr_tbefore casting tovoid*when passing compiler flags.