print information message about target device for GPU module tests

This commit is contained in:
marina.kolpakova
2012-10-10 13:36:24 +04:00
parent 715a0032e0
commit f88be98ec4
3 changed files with 5 additions and 4 deletions

View File

@@ -618,6 +618,11 @@ void TestBase::Init(int argc, const char* const argv[])
#ifdef HAVE_CUDA
param_run_cpu = args.has("perf_run_cpu");
if (param_run_cpu)
printf("[----------]\n[ GPU INFO ] \tRun test suite on CPU.\n[----------]\n"), fflush(stdout);
else
printf("[----------]\n[ GPU INFO ] \tRun test suite on GPU.\n[----------]\n"), fflush(stdout);
#endif
if (!args.check())