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:
shaoyunl
2019-07-04 18:49:34 -04:00
odevzdal Shaoyun Liu
rodič 6cad92de6f
revize c6ed539b44
3 změnil soubory, kde provedl 195 přidání a 0 odebrání
+4
Zobrazit soubor
@@ -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;