codekingpro/portable-devtools
114k
1// -*- C++ -*-2//===-------------------------- cassert -----------------------------------===//3//4// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.5// See https://llvm.org/LICENSE.txt for license information.6// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception7//8//===----------------------------------------------------------------------===//9 10/*11 cassert synopsis12 13Macros:14 15 assert16 17*/18 19#ifndef __cuda_std__20#include <__config>21#include <__pragma_push>22#include <assert.h>23#include <__pragma_pop>24 25#else26 27#ifndef _LIBCUDACXX_COMPILER_NVRTC28#include <cassert>29#include <assert.h>30#endif //_LIBCUDACXX_COMPILER_NVRTC31 32#endif // __cuda_std__33 