follow cpplint

trainerSaveLoadParams
fengjiayi 7 years ago
parent 211d56edd8
commit d946d01e2b

@ -12,8 +12,8 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License. */
#ifndef HL_BASE_H_
#define HL_BASE_H_
#ifndef PADDLE_CUDA_INCLUDE_HL_BASE_H_
#define PADDLE_CUDA_INCLUDE_HL_BASE_H_
#include <cstddef>
@ -207,8 +207,8 @@ typedef struct {
#ifdef __NVCC__
#include "cuda_runtime.h"
#include "hl_cuda.h"
#include "./cuda_runtime.h"
#include "./hl_cuda.h"
#include "paddle/utils/Logging.h"
extern __thread bool g_sync_flag;
@ -243,6 +243,6 @@ __shfl_sync(unsigned, T val, int src_line, int width) {
mask = __ballot_sync(FULL_WARP_MASK, (predicate))
#endif
#endif /* __NVCC__ */
#endif // __NVCC__
#endif /* HL_BASE_H_ */
#endif // PADDLE_CUDA_INCLUDE_HL_BASE_H_

Loading…
Cancel
Save