pet_loopback and onriginal version of medley/deriche give different results

9 views
Skip to first unread message

Emil Vatai

unread,
Sep 11, 2024, 2:46:40 AM9/11/24
to isl Development
Hello!

While checking correctness of the implementation of my library which uses ISL/PET, I was running my code with polybench, and the medley/deriche benchmark was always failing (giving wrong/different results than the original). As a sanity check, I ran it through PET's `pet_loopback` which is supposed to give the code back (more or less) as is, but the results are different even with pet_loopback, i.e. without any transformations
(-DPOLYBENCH_DUMP_ARRAYS -DSMALL_DATASET)

I didn't have time to investigate it in detail, just wanted to check here first if someone knows about this issue.

Best,
Emil

Sven Verdoolaege

unread,
Sep 11, 2024, 2:01:11 PM9/11/24
to Emil Vatai, isl Development
The default loop iterator names conflict with some variables
in the original code. PPCG takes care to use non-conflicting names,
pet_loopback does not.

skimo
Reply all
Reply to author
Forward
0 new messages