Rename device access functions

Rename functions that access devices to reflect the derived device
they return. This includes the base device::Device and the derived
gpu/pal/roc device classes in both NullDevice and Device forms. Change
to use the least derived versions to clarify what operations will be
available.

Change-Id: I1abb6bfed7efa24852bc8d0d49acaea357d8b5d0
This commit is contained in:
Tony Tye committed 2021-01-13 08:24:28 +00:00
1 parent f679b05df7
commit 001fd66cac
13 file changed
+147 -127

No files matched your search

+1 -1
View File
@@ -407,7 +407,7 @@ class Kernel : public amd::HeapObject {
};
//! Returns GPU device object, associated with this kernel
const amd::Device& dev() const { return dev_; }
const amd::Device& device() const { return dev_; }
void setVecTypeHint(const std::string& hint) { workGroupInfo_.compileVecTypeHint_ = hint; }