adding git version to rccl-test (#66)

* adding git version to rccl-test

---------

Co-authored-by: mberenjk <mberenjk@banff-cyxtera-s74-2.ctr.dcgpu>

[ROCm/rccl-tests commit: a31679775c]
This commit is contained in:
mberenjk
2024-03-20 10:04:12 -05:00
کامیت شده توسط GitHub
والد aaf1e27af2
کامیت 82c71f1838
4فایلهای تغییر یافته به همراه85 افزوده شده و 1 حذف شده
@@ -21,6 +21,7 @@
//#define DEBUG_PRINT
#include "verifiable.h"
#include "git_version.h"
int test_ncclVersion = 0; // init'd with ncclGetVersion()
@@ -754,6 +755,7 @@ testResult_t run(); // Main function
int main(int argc, char* argv[]) {
// Make sure everyline is flushed so that we see the progress of the test
setlinebuf(stdout);
printf("rccl-tests: Version %s\n", rcclTestsGitHash);
#if NCCL_VERSION_CODE >= NCCL_VERSION(2,4,0)
ncclGetVersion(&test_ncclVersion);