diff options
Diffstat (limited to 'src/abstract_hardware_model.h')
| -rw-r--r-- | src/abstract_hardware_model.h | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/src/abstract_hardware_model.h b/src/abstract_hardware_model.h index bb5c490..d9f5885 100644 --- a/src/abstract_hardware_model.h +++ b/src/abstract_hardware_model.h @@ -90,29 +90,6 @@ struct dim3 { }; #endif -#if 0 - -// detect gcc 4.3 and use unordered map (part of c++0x) -// unordered map doesn't play nice with _GLIBCXX_DEBUG, just use a map if its enabled. -#if defined( __GNUC__ ) and not defined( _GLIBCXX_DEBUG ) -#if __GNUC__ >= 4 && __GNUC_MINOR__ >= 3 - #include <unordered_map> - #define my_hash_map std::unordered_map -#else - #include <ext/hash_map> - namespace std { - using namespace __gnu_cxx; - } - #define my_hash_map std::hash_map -#endif -#else - #include <map> - #define my_hash_map std::map - #define USE_MAP -#endif - -#endif - void increment_x_then_y_then_z( dim3 &i, const dim3 &bound); class kernel_info_t { |
