From cadf83e1967ccb67797e665ec83a11ab3810afab Mon Sep 17 00:00:00 2001 From: Pedro Larroy Date: Wed, 9 Jan 2019 01:47:20 +0100 Subject: [PATCH] Refactor Storage -> FeatureSet --- src/mxfeatures.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/mxfeatures.cc b/src/mxfeatures.cc index 705de1e50142..a9f209b331ae 100644 --- a/src/mxfeatures.cc +++ b/src/mxfeatures.cc @@ -32,9 +32,9 @@ namespace mxnet { namespace features { -class Storage { +class FeatureSet { public: - Storage(): + FeatureSet(): feature_bits() { // GPU feature_bits.set(CUDA, MXNET_USE_CUDA); @@ -105,7 +105,7 @@ class Storage { std::bitset feature_bits; }; -static Storage storage; +static FeatureSet storage; bool is_enabled(const unsigned feat) { return storage.is_enabled(feat);