Add gfx IsaGenerator
Change-Id: I93ccb889b4bb7f0f5921a90cebbc0550d1eb3f7d Signed-off-by: Oak Zeng <Oak.Zeng@amd.com> Signed-off-by: shaoyunl <shaoyun.liu@amd.com>
Tento commit je obsažen v:
@@ -29,6 +29,7 @@
|
||||
#include "IsaGenerator_Gfx72.hpp"
|
||||
#include "IsaGenerator_Gfx8.hpp"
|
||||
#include "IsaGenerator_Gfx9.hpp"
|
||||
#include "IsaGenerator_Gfx10.hpp"
|
||||
|
||||
#include "GoogleTestExtension.hpp"
|
||||
|
||||
@@ -91,6 +92,9 @@ IsaGenerator* IsaGenerator::Create(unsigned int familyId) {
|
||||
case FAMILY_AI:
|
||||
case FAMILY_RV:
|
||||
return new IsaGenerator_Gfx9;
|
||||
case FAMILY_NV:
|
||||
return new IsaGenerator_Gfx10;
|
||||
|
||||
default:
|
||||
LOG() << "Error: Invalid ISA" << std::endl;
|
||||
return NULL;
|
||||
|
||||
Odkázat v novém úkolu
Zablokovat Uživatele