A parallel architecture trace parser using the PAT trace format.
make build
make run
The PAT trace format is composed of a number of tokens, which are as follows:
Dimensions: D #wkgrps_x #wkgrps_y #wkgrps_z wkgrp_size_x wkgrp_size_y wkgrp_size_z
Thread ID: T tid
Instruction Packet: P pc #instructions #dependent_addrs dependent_addrs*
Load Packet: L #bytes-1 address pc #instructions #dependent_addrs dependent_addrs*
Store Packet: S #bytes-1 address pc #instructions #dependent_addrs dependent_addrs*
Barrier Packet: B pc #instructions #dependent_addrs dependent_addrs*