fix enum issue

This commit is contained in:
Chao Liu
2021-08-10 20:55:13 +00:00
parent 643ebd4f3e
commit d626dccc95
3 changed files with 6 additions and 6 deletions

View File

@@ -7,9 +7,9 @@
#include "statically_indexed_array.hpp" #include "statically_indexed_array.hpp"
#include "container_element_picker.hpp" #include "container_element_picker.hpp"
#include "multi_index.hpp" #include "multi_index.hpp"
#include "data_type_enum.hpp"
#include "data_type.hpp" #include "data_type.hpp"
#include "data_type_helper.hpp" #include "data_type_enum.hpp"
#include "data_type_enum_helper.hpp"
#include "functional.hpp" #include "functional.hpp"
#include "functional2.hpp" #include "functional2.hpp"
#include "functional3.hpp" #include "functional3.hpp"

View File

@@ -3,8 +3,8 @@
namespace ck { namespace ck {
// this enumerate should be synchronized with include/miopen.h enum DataTypeEnum_t
using DataTypeEnum_t = enum { {
Half = 0, Half = 0,
Float = 1, Float = 1,
Int32 = 2, Int32 = 2,

View File

@@ -1,5 +1,5 @@
#ifndef CK_DATA_TYPE_HELPER_HPP #ifndef CK_DATA_TYPE_ENUM_HELPER_HPP
#define CK_DATA_TYPE_HELPER_HPP #define CK_DATA_TYPE_ENUM_HELPER_HPP
#include "data_type.hpp" #include "data_type.hpp"
#include "data_type_enum.hpp" #include "data_type_enum.hpp"