diff options
author | Cedric Nugteren <web@cedricnugteren.nl> | 2018-01-06 17:02:58 +0100 |
---|---|---|
committer | Cedric Nugteren <web@cedricnugteren.nl> | 2018-01-06 17:02:58 +0100 |
commit | c9b5d614e28b1e081cd34e75f745a149fb545ac7 (patch) | |
tree | a213307a436194366feaa006b1f89d721d86618a /src/tuning/tuning.cpp | |
parent | a7ccce196915db7a3b7ea7fe8ea9048f5b1204c6 (diff) |
Fixed a vendor naming bug in the tuners and in the database
Diffstat (limited to 'src/tuning/tuning.cpp')
-rw-r--r-- | src/tuning/tuning.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tuning/tuning.cpp b/src/tuning/tuning.cpp index c8532b36..1f028695 100644 --- a/src/tuning/tuning.cpp +++ b/src/tuning/tuning.cpp @@ -37,8 +37,8 @@ void PrintTimingsToFileAsJSON(const std::string &filename, for (auto &datum: metadata) { fprintf(file, " \"%s\": \"%s\",\n", datum.first.c_str(), datum.second.c_str()); } - fprintf(file, " \"clblast_device_type\": \"%s\",\n", device.Type().c_str()); - fprintf(file, " \"clblast_device_vendor\": \"%s\",\n", device.Vendor().c_str()); + fprintf(file, " \"clblast_device_type\": \"%s\",\n", GetDeviceType(device).c_str()); + fprintf(file, " \"clblast_device_vendor\": \"%s\",\n", GetDeviceVendor(device).c_str()); fprintf(file, " \"clblast_device_architecture\": \"%s\",\n", GetDeviceArchitecture(device).c_str()); fprintf(file, " \"clblast_device_name\": \"%s\",\n", GetDeviceName(device).c_str()); fprintf(file, " \"device\": \"%s\",\n", device.Name().c_str()); |