diff options
author | Cedric Nugteren <web@cedricnugteren.nl> | 2017-10-07 18:43:29 +0200 |
---|---|---|
committer | Cedric Nugteren <web@cedricnugteren.nl> | 2017-10-07 18:43:29 +0200 |
commit | 6d3e1212f03bcd819dca0fe5a75330b92f11b81f (patch) | |
tree | 05b322d255a4e8a330c02a10f9040da5ab82faec /test | |
parent | b2058320d12cbb3a250f62e9c85ff8c840659ee7 (diff) |
Synchronizes clpp11.h with CLCudaAPI 9.0
Diffstat (limited to 'test')
-rw-r--r-- | test/diagnostics.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/diagnostics.cpp b/test/diagnostics.cpp index 99b936f8..af56cd30 100644 --- a/test/diagnostics.cpp +++ b/test/diagnostics.cpp @@ -85,7 +85,7 @@ void OpenCLDiagnostics(int argc, char *argv[]) { printf("* device.Name() %.4lf ms\n", TimeFunction(kNumRuns, [&](){device.Name();} )); printf("* device.Vendor() %.4lf ms\n", TimeFunction(kNumRuns, [&](){device.Vendor();} )); printf("* device.Version() %.4lf ms\n", TimeFunction(kNumRuns, [&](){device.Version();} )); - printf("* device.Platform() %.4lf ms\n", TimeFunction(kNumRuns, [&](){device.Platform();} )); + printf("* device.Platform() %.4lf ms\n", TimeFunction(kNumRuns, [&](){ device.PlatformID();} )); printf("* Buffer<float>(context, 1024) %.4lf ms\n", TimeFunction(kNumRuns, [&](){Buffer<float>(context, 1024);} )); printf("\n"); |