//------------------------------------------------------------------------------ // GraphBLAS/CUDA/GraphBLAS_cuda.hpp //------------------------------------------------------------------------------ // SuiteSparse:GraphBLAS, Timothy A. Davis, (c) 2017-2024, All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 //------------------------------------------------------------------------------ #ifndef GXB_COMPLEX_H #define GXB_COMPLEX_H // C++ complex types for CUDA #include #include typedef std::complex GxB_FC32_t ; typedef std::complex GxB_FC64_t ; #define GxB_CMPLXF(r,i) GxB_FC32_t(r,i) #define GxB_CMPLX(r,i) GxB_FC64_t(r,i) #define GB_HAS_CMPLX_MACROS 1 #endif #define GB_LIBRARY #include "GraphBLAS.h" #undef I