Skip to content

Commit

Permalink
fix compiler complaints when build cpu_only
Browse files Browse the repository at this point in the history
  • Loading branch information
lixinqi committed Jun 23, 2022
1 parent f1ab361 commit a224698
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions oneflow/core/vm/bin_allocator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ See the License for the specific language governing permissions and
limitations under the License.
*/

#ifdef WITH_CUDA

#include "oneflow/core/vm/bin_allocator.h"
#include <iostream>
#include <cmath>
Expand Down Expand Up @@ -317,5 +315,3 @@ void BinAllocator::Deallocate(char* mem_ptr, std::size_t size) {

} // namespace vm
} // namespace oneflow

#endif

0 comments on commit a224698

Please sign in to comment.