mgpusim icon indicating copy to clipboard operation
mgpusim copied to clipboard

Bug Report: Bitonic Sort Verification Failure under Unified GPU Configuration

Open syifan opened this issue 9 months ago • 1 comments

Discussed in https://github.com/sarchlab/mgpusim/discussions/142

Originally posted by li-yr February 22, 2025 I encountered a validation error while testing the bitonic sort implementation under multi-GPU unified memory mode. Below are the details for your reference:

-timing -report-rdma-transaction-count -unified-gpus 1,2,3,4 -trace-mem -verify

the output of verifying: /GolandProjects/awesomeProject2/mgpusim/benchmarks/amdappsdk/bitonicsort/bitonicsort.go:249: Error: array[3] > array[4]: 1295030053 807426474

Thank you for your guidance. Please let me know if additional data is needed.

syifan avatar Mar 10 '25 13:03 syifan

The smallest example can recreate the bug: ./bitonicsort -timing -verify -length=256 It is not related to unified multi-GPU system. And there is no error in the emulation mode.

syifan avatar Mar 10 '25 13:03 syifan