[SWDEV-442583] - Fix for hipMemset performance tests

Change-Id: Id4f0d82551aaad6b7054660f318421e062c74c64
This commit is contained in:
Rahul Manocha
2024-04-12 14:38:44 -07:00
committed by Rakesh Roy
parent 26223a792b
commit eeaa39f2bf
6 changed files with 4 additions and 12 deletions
@@ -33,7 +33,7 @@ THE SOFTWARE.
class MemsetD16AsyncBenchmark : public Benchmark<MemsetD16AsyncBenchmark> {
public:
MemsetD16AsyncBenchmark(LinearAllocs allocation_type, size_t size)
: dst_(allocation_type, size), size_(size), stream_(Streams::created) {}
: dst_(allocation_type, size * sizeof(int16_t)), size_(size), stream_(Streams::created) {}
void operator()() {
TIMED_SECTION_STREAM(kTimerTypeEvent, stream_.stream()) {