Open prapti02 opened 6 months ago
This is a similar question to another issue. Please See https://github.com/SAITPublic/PIMSimulator/issues/10
I have a follow-up question. Is this code considering the data transfer time to the CPU for non-PIM cases? I see that the PIM-enabled cycles are more than the PIM-disabled cycles. I am adding compute cycles to the PIM disabled case. Even after that the cycles are less than that of the PIM enabled case.
Look at the following code fragment in PIMBenchTestCases.h:
uint64_t measureCycle(bool ispim = false) { cout << "Inside uint64_t measureCycle(bool ispim = false). 1" << endl; // cin.get(); uint64_t cycle = 0; uint64_t starting_addr = 0;