Merge 'master' into 'amd-master'
Change-Id: I51774a512af3c672a4ebbbcf905ac32d3f9351a1
Этот коммит содержится в:
Коммит
21fdf3ad26
6 files changed
+14
-4
No files matched your search
@@ -158,7 +158,7 @@ if(USE_PROF_API EQUAL 1)
|
|||||||
find_package(PkgConfig)
|
find_package(PkgConfig)
|
||||||
pkg_check_modules(ROCTRACERPROTO QUIET roctracer-proto)
|
pkg_check_modules(ROCTRACERPROTO QUIET roctracer-proto)
|
||||||
if(ROCTRACERPROTO_FOUND EQUAL 1)
|
if(ROCTRACERPROTO_FOUND EQUAL 1)
|
||||||
pkg_get_variable(PROF_API_HEADER_PATH roctracer-proto prefix)
|
pkg_get_variable(PROF_API_HEADER_PATH roctracer-proto includedir)
|
||||||
else()
|
else()
|
||||||
set(PROF_API_HEADER_PATH /opt/rocm/roctracer/include/ext)
|
set(PROF_API_HEADER_PATH /opt/rocm/roctracer/include/ext)
|
||||||
endif()
|
endif()
|
||||||
|
|||||||
Vendored
+2
-1
@@ -167,6 +167,7 @@ def docker_build_inside_image( def build_image, String inside_args, String platf
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Cap the maximum amount of testing, in case of hangs
|
// Cap the maximum amount of testing, in case of hangs
|
||||||
|
// Excluding hipMultiThreadDevice-pyramid test from automation; due to its flakiness which requires some investigation
|
||||||
timeout(time: 1, unit: 'HOURS')
|
timeout(time: 1, unit: 'HOURS')
|
||||||
{
|
{
|
||||||
stage("${platform} unit testing")
|
stage("${platform} unit testing")
|
||||||
@@ -176,7 +177,7 @@ def docker_build_inside_image( def build_image, String inside_args, String platf
|
|||||||
cd ${build_dir_rel}
|
cd ${build_dir_rel}
|
||||||
make install -j\$(nproc)
|
make install -j\$(nproc)
|
||||||
make build_tests -i -j\$(nproc)
|
make build_tests -i -j\$(nproc)
|
||||||
ctest
|
ctest -E pyramid
|
||||||
"""
|
"""
|
||||||
// If unit tests output a junit or xunit file in the future, jenkins can parse that file
|
// If unit tests output a junit or xunit file in the future, jenkins can parse that file
|
||||||
// to display test results on the dashboard
|
// to display test results on the dashboard
|
||||||
|
|||||||
@@ -49,6 +49,11 @@ cl::opt <bool> SaveTemps("save-temps",
|
|||||||
cl::value_desc("save-temps"),
|
cl::value_desc("save-temps"),
|
||||||
cl::cat(ToolTemplateCategory));
|
cl::cat(ToolTemplateCategory));
|
||||||
|
|
||||||
|
cl::opt <bool> Verbose("v",
|
||||||
|
cl::desc("Show commands to run and use verbose output"),
|
||||||
|
cl::value_desc("v"),
|
||||||
|
cl::cat(ToolTemplateCategory));
|
||||||
|
|
||||||
cl::opt <bool> TranslateToRoc("roc",
|
cl::opt <bool> TranslateToRoc("roc",
|
||||||
cl::desc("Translate to roc instead of hip where it is possible"),
|
cl::desc("Translate to roc instead of hip where it is possible"),
|
||||||
cl::value_desc("roc"),
|
cl::value_desc("roc"),
|
||||||
|
|||||||
@@ -37,6 +37,7 @@ extern cl::list<std::string> IncludeDirs;
|
|||||||
extern cl::list<std::string> MacroNames;
|
extern cl::list<std::string> MacroNames;
|
||||||
extern cl::opt<bool> Inplace;
|
extern cl::opt<bool> Inplace;
|
||||||
extern cl::opt<bool> SaveTemps;
|
extern cl::opt<bool> SaveTemps;
|
||||||
|
extern cl::opt<bool> Verbose;
|
||||||
extern cl::opt<bool> NoBackup;
|
extern cl::opt<bool> NoBackup;
|
||||||
extern cl::opt<bool> NoOutput;
|
extern cl::opt<bool> NoOutput;
|
||||||
extern cl::opt<bool> PrintStats;
|
extern cl::opt<bool> PrintStats;
|
||||||
|
|||||||
@@ -234,6 +234,9 @@ int main(int argc, const char **argv) {
|
|||||||
Tool.appendArgumentsAdjuster(ct::getInsertArgumentAdjuster(s.c_str(), ct::ArgumentInsertPosition::END));
|
Tool.appendArgumentsAdjuster(ct::getInsertArgumentAdjuster(s.c_str(), ct::ArgumentInsertPosition::END));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (Verbose) {
|
||||||
|
Tool.appendArgumentsAdjuster(ct::getInsertArgumentAdjuster("-v", ct::ArgumentInsertPosition::END));
|
||||||
|
}
|
||||||
Tool.appendArgumentsAdjuster(ct::getClangSyntaxOnlyAdjuster());
|
Tool.appendArgumentsAdjuster(ct::getClangSyntaxOnlyAdjuster());
|
||||||
Statistics& currentStat = Statistics::current();
|
Statistics& currentStat = Statistics::current();
|
||||||
// Hipify _all_ the things!
|
// Hipify _all_ the things!
|
||||||
|
|||||||
@@ -195,8 +195,8 @@ class api_callbacks_table_t {
|
|||||||
public:
|
public:
|
||||||
typedef void* act_t;
|
typedef void* act_t;
|
||||||
typedef void* fun_t;
|
typedef void* fun_t;
|
||||||
bool set_activity(uint32_t id, act_t fun, void* arg) { return true; }
|
bool set_activity(uint32_t id, act_t fun, void* arg) { return false; }
|
||||||
bool set_callback(uint32_t id, fun_t fun, void* arg) { return true; }
|
bool set_callback(uint32_t id, fun_t fun, void* arg) { return false; }
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in new issue
Block a user