SWDEV-447973 - Add generic target codeobj test
Add simple tests to verify generic target code
objects.
Change-Id: Iae148c3c938b18247624938512918dbb3cbc462e
[ROCm/hip-tests commit: f581518103]
Этот коммит содержится в:
1 родитель
86432880c6
Коммит
53ddaca565
14 files changed
+720
-4
No files matched your search
@@ -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