Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-07-21 07:54:30

0001 // SPDX-FileCopyrightText: Copyright (c) 2021-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
0002 // SPDX-License-Identifier: BSD-3-Clause
0003 //
0004 
0005 #pragma once
0006 
0007 #if defined(__CUDACC__) || defined(__CUDABE__)
0008 #    define OTK_DEVICE __device__
0009 #    define OTK_HOSTDEVICE __host__ __device__
0010 #    define OTK_INLINE __forceinline__
0011 #    define CONST_STATIC_INIT( ... )
0012 #else
0013 #    define OTK_DEVICE
0014 #    define OTK_HOSTDEVICE
0015 #    define OTK_INLINE inline
0016 #    define CONST_STATIC_INIT( ... ) = __VA_ARGS__
0017 #endif
0018 
0019 
0020