mxnet
Namespaces | Macros | Functions
endian.h File Reference

Endian testing, need c++11. More...

#include "./base.h"
Include dependency graph for endian.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 dmlc
 namespace for dmlc
 

Macros

#define DMLC_IO_NO_ENDIAN_SWAP   (DMLC_LITTLE_ENDIAN == DMLC_IO_USE_LITTLE_ENDIAN)
 whether serialize using little endian More...
 

Functions

void dmlc::ByteSwap (void *data, size_t elem_bytes, size_t num_elems)
 A generic inplace byte swapping function. More...
 

Detailed Description

Endian testing, need c++11.

Copyright (c) 2017 by Contributors

Macro Definition Documentation

#define DMLC_IO_NO_ENDIAN_SWAP   (DMLC_LITTLE_ENDIAN == DMLC_IO_USE_LITTLE_ENDIAN)

whether serialize using little endian