Skip to content

Commit

Permalink
attributes not at the right place
Browse files Browse the repository at this point in the history
Summary:
as is results in the following warning:

```
/var/lib/jenkins/workspace/third_party/fbgemm/include/fbgemm/./Utils.h:62:43: error: type attributes ignored after type is already defined [-Werror=attributes]
```

Reviewed By: jspark1105

Differential Revision: D19340693

fbshipit-source-id: 6f51a808b4018eba3ec14eecd7556e281371ce68
  • Loading branch information
dskhudia authored and facebook-github-bot committed Jan 10, 2020
1 parent b6e1ce6 commit 4fdb800
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/fbgemm/Utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ enum class impl_type_t { ref, opt };
* KCX can be KCRS format or KCTRS format (e.g., for 3-D convolutions)
* KXC can be KRSC format or KTRSC format (e.g., for 3-D convolutions)
*/
enum class FBGEMM_API layout_t { KCX, KXC };
enum class layout_t { KCX, KXC };

/**
* @brief Some commonly used variables for different instruction sets
Expand Down
2 changes: 1 addition & 1 deletion include/fbgemm/UtilsAvx2.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

namespace fbgemm {

enum class FBGEMM_API QuantizationGranularity {
enum class QuantizationGranularity {
TENSOR,
GROUP,
OUT_CHANNEL,
Expand Down

0 comments on commit 4fdb800

Please sign in to comment.