Skip to content

Fix cpplint format check #10338

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
May 2, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 4 additions & 7 deletions paddle/cuda/include/hl_base.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ 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_
#pragma once

#include <cstddef>

Expand Down Expand Up @@ -207,8 +206,8 @@ typedef struct {

#ifdef __NVCC__

#include "cuda_runtime.h"
#include "hl_cuda.h"
#include <cuda_runtime.h>
#include "paddle/cuda/include/hl_cuda.h"
#include "paddle/utils/Logging.h"

extern __thread bool g_sync_flag;
Expand Down Expand Up @@ -243,6 +242,4 @@ __shfl_sync(unsigned, T val, int src_line, int width) {
mask = __ballot_sync(FULL_WARP_MASK, (predicate))
#endif

#endif /* __NVCC__ */

#endif /* HL_BASE_H_ */
#endif // __NVCC__