diff options
Diffstat (limited to 'src/database/device_mapping.hpp')
-rw-r--r-- | src/database/device_mapping.hpp | 51 |
1 files changed, 0 insertions, 51 deletions
diff --git a/src/database/device_mapping.hpp b/src/database/device_mapping.hpp deleted file mode 100644 index 9fb5d81d..00000000 --- a/src/database/device_mapping.hpp +++ /dev/null @@ -1,51 +0,0 @@ - -// ================================================================================================= -// This file is part of the CLBlast project. The project is licensed under Apache Version 2.0. This -// project loosely follows the Google C++ styleguide and uses a tab-size of two spaces and a max- -// width of 100 characters per line. -// -// Author(s): -// Cedric Nugteren <www.cedricnugteren.nl> -// -// This file describes the mappings of extracted names from OpenCL (device, board, vendor, etc.) to -// more commonly used names to match devices from different vendors and platforms properly. -// -// ================================================================================================= - -#ifndef CLBLAST_DATABASE_DEVICE_MAPPING_H_ -#define CLBLAST_DATABASE_DEVICE_MAPPING_H_ - -#include <string> -#include <unordered_map> - -namespace clblast { -// A special namespace to hold all the global constant variables (including the device mapping) -namespace database { - -// ================================================================================================= - -// Alternative names for some vendor names (top-level) -const std::unordered_map<std::string, std::string> kVendorNames { - { "Intel(R) Corporation", "Intel" }, - { "GenuineIntel", "Intel" }, - { "Advanced Micro Devices, Inc.", "AMD" }, - { "NVIDIA Corporation", "NVIDIA" }, -}; - -// Alternative names for some architectures (mid-level) -const std::unordered_map<std::string, std::string> kArchitectureNames { - {"gfx803", "Fiji"}, - {"gfx900", "Vega"}, -}; - -// Alternative names for some devices (low-level) -const std::unordered_map<std::string, std::string> kDeviceNames { - // Empty -}; - -// ================================================================================================= -} // namespace database -} // namespace clblast - -// CLBLAST_DATABASE_DEVICE_MAPPING_H_ -#endif |