libhsakmt: add gfx90c support for thunk
This patch adds the support for gfx90c apu. So far we treat it as "dgpu" and
gfx900. Will update hsa gfxip table while the isa/llvm is implemented on gfx90c.
Change-Id: I6ef164bf3e751fe6dd6287cac212a500dce84b1a
Signed-off-by: Huang Rui <ray.huang@amd.com>
[ROCm/ROCR-Runtime commit: fdba74c2fb]
This commit is contained in:
@@ -128,6 +128,12 @@ const struct device_info raven_device_info = {
|
||||
.doorbell_size = DOORBELL_SIZE_GFX9,
|
||||
};
|
||||
|
||||
const struct device_info renoir_device_info = {
|
||||
.asic_family = CHIP_RENOIR,
|
||||
.eop_buffer_size = 4096,
|
||||
.doorbell_size = DOORBELL_SIZE_GFX9,
|
||||
};
|
||||
|
||||
const struct device_info vega20_device_info = {
|
||||
.asic_family = CHIP_VEGA20,
|
||||
.eop_buffer_size = 4096,
|
||||
@@ -172,6 +178,7 @@ static const struct device_info *dev_lookup_table[] = {
|
||||
[CHIP_VEGA12] = &vega12_device_info,
|
||||
[CHIP_VEGA20] = &vega20_device_info,
|
||||
[CHIP_RAVEN] = &raven_device_info,
|
||||
[CHIP_RENOIR] = &renoir_device_info,
|
||||
[CHIP_ARCTURUS] = &arcturus_device_info,
|
||||
[CHIP_NAVI10] = &navi10_device_info,
|
||||
[CHIP_NAVI12] = &navi12_device_info,
|
||||
|
||||
Reference in New Issue
Block a user