SWDEV-447973 - Add generic target codeobj test
Add simple tests to verify generic target code objects. Change-Id: Iae148c3c938b18247624938512918dbb3cbc462e
This commit is contained in:
@@ -34,6 +34,7 @@ THE SOFTWARE.
|
||||
#include <mutex>
|
||||
#include <cstdlib>
|
||||
#include <thread>
|
||||
#include "hip_test_features.hh"
|
||||
|
||||
#ifdef TEST_CLOCK_CYCLE
|
||||
#define clock_function() clock64()
|
||||
|
||||
@@ -36,3 +36,5 @@ typedef enum CTFeatures {
|
||||
} CTFeatures;
|
||||
|
||||
bool CheckIfFeatSupported(enum CTFeatures test_feat, std::string gcn_arch);
|
||||
bool getGenericTarget(const std::string& agentTarget, std::string& genericTarget);
|
||||
bool isGenericTargetSupported(char* gcnArchName = nullptr, int deviceId = 0);
|
||||
|
||||
Reference in New Issue
Block a user