misc: Use VPtr in hsa_driver.cc
authorKyle Roarty <kyleroarty1716@gmail.com>
Fri, 28 Aug 2020 22:34:10 +0000 (17:34 -0500)
committerMatthew Poremba <matthew.poremba@amd.com>
Mon, 31 Aug 2020 17:44:11 +0000 (17:44 +0000)
commitb00b98635308dc423094c2902ad446556a5497b7
tree954dda60adcf3824fe702bc460a82a5bc9cbf216
parent9547cd285c06c9a95192192ab31a34d77b11df4e
misc: Use VPtr in hsa_driver.cc

This change updates HSADriver::allocateQueue to take in a ThreadContext
pointer as opposed to a PortProxy ref. This allows the TypedBufferArg
to be replaced with VPtr.

This also fixes building GCN3_X86

Change-Id: I1fea26b10c7344daf54a0cb05337e961f834a5fd
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/33655
Reviewed-by: Matt Sinclair <mattdsinclair@gmail.com>
Reviewed-by: Gabe Black <gabeblack@google.com>
Reviewed-by: Matthew Poremba <matthew.poremba@amd.com>
Maintainer: Matt Sinclair <mattdsinclair@gmail.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/dev/hsa/hsa_driver.cc
src/dev/hsa/hsa_driver.hh
src/gpu-compute/gpu_compute_driver.cc