⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.116
Server IP:
78.40.11.138
Server:
Linux tango.o2switch.net 4.18.0-553.30.1.lve.el8.x86_64 #1 SMP Tue Dec 3 01:21:19 UTC 2024 x86_64
Server Software:
Apache
PHP Version:
7.4.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
lib
/
clang
/
21
/
include
/
llvm_libc_wrappers
/
View File Name :
assert.h
//===-- Wrapper for C standard assert.h declarations on the GPU -*- C++ -*-===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// #ifndef __CLANG_LLVM_LIBC_WRAPPERS_ASSERT_H__ #define __CLANG_LLVM_LIBC_WRAPPERS_ASSERT_H__ #if !defined(_OPENMP) && !defined(__HIP__) && !defined(__CUDA__) #error "This file is for GPU offloading compilation only" #endif #include_next <assert.h> #if __has_include(<llvm-libc-decls/assert.h>) #if defined(__HIP__) || defined(__CUDA__) #define __LIBC_ATTRS __attribute__((device)) #endif #pragma omp begin declare target #include <llvm-libc-decls/assert.h> #pragma omp end declare target #undef __LIBC_ATTRS #endif #endif // __CLANG_LLVM_LIBC_WRAPPERS_ASSERT_H__