oneapi-agent-toolkit

Port report: saxpy

Iterations

it tool status summary
1 migrate ok migrated 1 CUDA file(s) -> 1 file(s); 1 DPCT warning(s) (DPCT1009x1)
2 list_files ok 2 file(s)
3 compile ok compiled 1 source(s) -> runs/20261015T073634012267Z/work/build/candidate (0 warning(s))
4 scan_helpers fail 11 dpct helper use(s) remain in 1 file(s) (events_timing=3, macro=2, device_queue_management=2, memory_management=2)
5 write_file ok wrote migrated/saxpy.dp.cpp (1386 chars)
5 compile fail compile failed with 15 error(s) at runs/20261015T073634012267Z/work/migrated/saxpy.dp.cpp:15: use of unde…
6 write_file ok wrote migrated/saxpy.dp.cpp (1411 chars)
6 compile ok compiled 1 source(s) -> runs/20261015T073634012267Z/work/build/candidate (0 warning(s))
6 scan_helpers ok no dpct helpers in 1 file(s)
7 verify ok PASS: 1/1 case(s) match (worst max abs err 4.77e-07, atol 1e-06)
7 benchmark ok 5 run(s) each; Intel(R) Xeon(R) Processor @ 2.80GHz: median 217.41 ms, p95 239.39 ms

What failed and what fixed it

Final evidence

Current sources hash: 68a6fa0b2b2d3333. Success requires compile, verify and zero-helper scan all on this hash.