Skip to content
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

Add NVRTC Runner #8

Merged
merged 29 commits into from
Aug 7, 2024
Merged

Add NVRTC Runner #8

merged 29 commits into from
Aug 7, 2024

Conversation

mborland
Copy link
Member

@mborland mborland commented Aug 5, 2024

Closes: #7

@mborland
Copy link
Member Author

mborland commented Aug 5, 2024

Locally I get this error:

[mborland@DESKTOP-F265CLN build]$ cmake --build . --target tests -j $(nproc) --clean-first
[ 33%] Building CXX object libs/random/CMakeFiles/boost_random.dir/src/random_device.cpp.o
[  0%] Building CXX object libs/container/CMakeFiles/boost_container.dir/src/dlmalloc.cpp.o
[ 33%] Building C object libs/container/CMakeFiles/boost_container.dir/src/alloc_lib.c.o
[ 33%] Building CXX object libs/container/CMakeFiles/boost_container.dir/src/monotonic_buffer_resource.cpp.o
[ 66%] Building CXX object libs/container/CMakeFiles/boost_container.dir/src/synchronized_pool_resource.cpp.o
[ 66%] Building CXX object libs/container/CMakeFiles/boost_container.dir/src/pool_resource.cpp.o
[ 66%] Building CXX object libs/container/CMakeFiles/boost_container.dir/src/global_resource.cpp.o
[ 66%] Building CXX object libs/container/CMakeFiles/boost_container.dir/src/unsynchronized_pool_resource.cpp.o
[ 66%] Linking CXX static library ../../stage/lib/libboost_container.a
[ 66%] Built target boost_container
[ 66%] Linking CXX static library ../../stage/lib/libboost_random.a
[ 66%] Built target boost_random
[100%] Building CXX object libs/cuda-math/test/CMakeFiles/boost_cuda_math-test_beta_nvrtc.dir/test_beta_nvrtc.cpp.o
[100%] Linking CXX executable ../../../stage/bin/boost_cuda_math-test_beta_nvrtc
[100%] Built target boost_cuda_math-test_beta_nvrtc
[100%] Built target tests
[mborland@DESKTOP-F265CLN build]$ ctest --output-on-failure --no-tests=error
Test project /home/mborland/Documents/boost/build
    Start 1: run-boost_cuda_math-test_beta_nvrtc
1/1 Test #1: run-boost_cuda_math-test_beta_nvrtc ...***Failed    0.02 sec
Compilation failed:
/usr/include/c++/11/vector(58): warning #161-D: unrecognized #pragma
  #pragma GCC system_header
          ^

Remark: The warnings can be suppressed with "-diag-suppress <warning-number>"

/usr/include/c++/11/x86_64-redhat-linux/bits/c++config.h(284): error: identifier "__SIZE_TYPE__" is undefined
    typedef __SIZE_TYPE__ 	size_t;
            ^

/usr/include/c++/11/x86_64-redhat-linux/bits/c++config.h(285): error: identifier "__PTRDIFF_TYPE__" is undefined
    typedef __PTRDIFF_TYPE__	ptrdiff_t;
            ^

/usr/include/c++/11/bits/functexcept.h(48): error: A function without execution space annotations (__host__/__device__/__global__) is considered a host function, and host functions are not allowed in JIT mode. Consider using -default-device flag to process unannotated functions as __device__ functions in JIT mode
    __throw_bad_exception(void) __attribute__((__noreturn__));
    ^

/usr/include/c++/11/bits/functexcept.h(52): error: A function without execution space annotations (__host__/__device__/__global__) is considered a host function, and host functions are not allowed in JIT mode. Consider using -default-device flag to process unannotated functions as __device__ functions in JIT mode
    __throw_bad_alloc(void) __attribute__((__noreturn__));
    ^

/usr/include/c++/11/bits/functexcept.h(55): error: A function without execution space annotations (__host__/__device__/__global__) is considered a host function, and host functions are not allowed in JIT mode. Consider using -default-device flag to process unannotated functions as __device__ functions in JIT mode
    __throw_bad_array_new_length(void) __attribute__((__noreturn__));
    ^

/usr/include/c++/11/bits/functexcept.h(59): error: A function without execution space annotations (__host__/__device__/__global__) is considered a host function, and host functions are not allowed in JIT mode. Consider using -default-device flag to process unannotated functions as __device__ functions in JIT mode
    __throw_bad_cast(void) __attribute__((__noreturn__));
    ^

/usr/include/c++/11/bits/functexcept.h(62): error: A function without execution space annotations (__host__/__device__/__global__) is considered a host function, and host functions are not allowed in JIT mode. Consider using -default-device flag to process unannotated functions as __device__ functions in JIT mode
    __throw_bad_typeid(void) __attribute__((__noreturn__));
    ^

/usr/include/c++/11/bits/functexcept.h(66): error: A function without execution space annotations (__host__/__device__/__global__) is considered a host function, and host functions are not allowed in JIT mode. Consider using -default-device flag to process unannotated functions as __device__ functions in JIT mode
    __throw_logic_error(const char*) __attribute__((__noreturn__));
    ^

/usr/include/c++/11/bits/functexcept.h(69): error: A function without execution space annotations (__host__/__device__/__global__) is considered a host function, and host functions are not allowed in JIT mode. Consider using -default-device flag to process unannotated functions as __device__ functions in JIT mode
    __throw_domain_error(const char*) __attribute__((__noreturn__));
    ^

/usr/include/c++/11/bits/functexcept.h(72): error: A function without execution space annotations (__host__/__device__/__global__) is considered a host function, and host functions are not allowed in JIT mode. Consider using -default-device flag to process unannotated functions as __device__ functions in JIT mode
    __throw_invalid_argument(const char*) __attribute__((__noreturn__));
    ^

/usr/include/c++/11/bits/functexcept.h(75): error: A function without execution space annotations (__host__/__device__/__global__) is considered a host function, and host functions are not allowed in JIT mode. Consider using -default-device flag to process unannotated functions as __device__ functions in JIT mode
    __throw_length_error(const char*) __attribute__((__noreturn__));
    ^

/usr/include/c++/11/bits/functexcept.h(78): error: A function without execution space annotations (__host__/__device__/__global__) is considered a host function, and host functions are not allowed in JIT mode. Consider using -default-device flag to process unannotated functions as __device__ functions in JIT mode
    __throw_out_of_range(const char*) __attribute__((__noreturn__));
    ^

/usr/include/c++/11/bits/functexcept.h(81): error: A function without execution space annotations (__host__/__device__/__global__) is considered a host function, and host functions are not allowed in JIT mode. Consider using -default-device flag to process unannotated functions as __device__ functions in JIT mode
    __throw_out_of_range_fmt(const char*, ...) __attribute__((__noreturn__))
    ^

/usr/include/c++/11/bits/functexcept.h(85): error: A function without execution space annotations (__host__/__device__/__global__) is considered a host function, and host functions are not allowed in JIT mode. Consider using -default-device flag to process unannotated functions as __device__ functions in JIT mode
    __throw_runtime_error(const char*) __attribute__((__noreturn__));
    ^

/usr/include/c++/11/bits/functexcept.h(88): error: A function without execution space annotations (__host__/__device__/__global__) is considered a host function, and host functions are not allowed in JIT mode. Consider using -default-device flag to process unannotated functions as __device__ functions in JIT mode
    __throw_range_error(const char*) __attribute__((__noreturn__));
    ^

/usr/include/c++/11/bits/functexcept.h(91): error: A function without execution space annotations (__host__/__device__/__global__) is considered a host function, and host functions are not allowed in JIT mode. Consider using -default-device flag to process unannotated functions as __device__ functions in JIT mode
    __throw_overflow_error(const char*) __attribute__((__noreturn__));
    ^

/usr/include/c++/11/bits/functexcept.h(94): error: A function without execution space annotations (__host__/__device__/__global__) is considered a host function, and host functions are not allowed in JIT mode. Consider using -default-device flag to process unannotated functions as __device__ functions in JIT mode
    __throw_underflow_error(const char*) __attribute__((__noreturn__));
    ^

/usr/include/c++/11/bits/functexcept.h(98): error: A function without execution space annotations (__host__/__device__/__global__) is considered a host function, and host functions are not allowed in JIT mode. Consider using -default-device flag to process unannotated functions as __device__ functions in JIT mode
    __throw_ios_failure(const char*) __attribute__((__noreturn__));
    ^

/usr/include/c++/11/bits/functexcept.h(101): error: A function without execution space annotations (__host__/__device__/__global__) is considered a host function, and host functions are not allowed in JIT mode. Consider using -default-device flag to process unannotated functions as __device__ functions in JIT mode
    __throw_ios_failure(const char*, int) __attribute__((__noreturn__));
    ^

/usr/include/c++/11/bits/functexcept.h(105): error: A function without execution space annotations (__host__/__device__/__global__) is considered a host function, and host functions are not allowed in JIT mode. Consider using -default-device flag to process unannotated functions as __device__ functions in JIT mode
    __throw_system_error(int) __attribute__((__noreturn__));
    ^

/usr/include/c++/11/bits/functexcept.h(109): error: A function without execution space annotations (__host__/__device__/__global__) is considered a host function, and host functions are not allowed in JIT mode. Consider using -default-device flag to process unannotated functions as __device__ functions in JIT mode
    __throw_future_error(int) __attribute__((__noreturn__));
    ^

/usr/include/c++/11/bits/functexcept.h(113): error: A function without execution space annotations (__host__/__device__/__global__) is considered a host function, and host functions are not allowed in JIT mode. Consider using -default-device flag to process unannotated functions as __device__ functions in JIT mode
    __throw_bad_function_call() __attribute__((__noreturn__));
    ^

/usr/include/c++/11/bits/cpp_type_traits.h(35): warning #161-D: unrecognized #pragma
  #pragma GCC system_header
          ^

/usr/include/c++/11/bits/cpp_type_traits.h(560): error: A function without execution space annotations (__host__/__device__/__global__) is considered a host function, and host functions are not allowed in JIT mode. Consider using -default-device flag to process unannotated functions as __device__ functions in JIT mode
      __miter_base(_Iterator __it)
      ^

/usr/include/c++/11/ext/type_traits.h(32): warning #161-D: unrecognized #pragma
  #pragma GCC system_header
          ^

/usr/include/c++/11/ext/type_traits.h(152): error: A function without execution space annotations (__host__/__device__/__global__) is considered a host function, and host functions are not allowed in JIT mode. Consider using -default-device flag to process unannotated functions as __device__ functions in JIT mode
      __is_null_pointer(_Type* __ptr)
      ^

/usr/include/c++/11/ext/type_traits.h(157): error: A function without execution space annotations (__host__/__device__/__global__) is considered a host function, and host functions are not allowed in JIT mode. Consider using -default-device flag to process unannotated functions as __device__ functions in JIT mode
      __is_null_pointer(_Type)
      ^

/usr/include/c++/11/ext/type_traits.h(162): error: A function without execution space annotations (__host__/__device__/__global__) is considered a host function, and host functions are not allowed in JIT mode. Consider using -default-device flag to process unannotated functions as __device__ functions in JIT mode
    __is_null_pointer(std::nullptr_t)
    ^

/usr/include/c++/11/ext/type_traits.h(201): error: expected a ")"
        typedef __typeof__(_Tp2() + _Up2()) __type;
                                  ^

/usr/include/c++/11/ext/type_traits.h(201): error: explicit type is missing ("int" assumed)
        typedef __typeof__(_Tp2() + _Up2()) __type;
                ^

/usr/include/c++/11/ext/type_traits.h(201): error: expected a ";"
        typedef __typeof__(_Tp2() + _Up2()) __type;
                                            ^

/usr/include/c++/11/ext/type_traits.h(210): error: expected a ")"
        typedef __typeof__(_Tp2() + _Up2() + _Vp2()) __type;
                                  ^

/usr/include/c++/11/ext/type_traits.h(210): error: explicit type is missing ("int" assumed)
        typedef __typeof__(_Tp2() + _Up2() + _Vp2()) __type;
                ^

/usr/include/c++/11/ext/type_traits.h(210): error: expected a ";"
        typedef __typeof__(_Tp2() + _Up2() + _Vp2()) __type;
                                                     ^

/usr/include/c++/11/ext/type_traits.h(220): error: expected a ")"
        typedef __typeof__(_Tp2() + _Up2() + _Vp2() + _Wp2()) __type;
                                  ^

/usr/include/c++/11/ext/type_traits.h(220): error: explicit type is missing ("int" assumed)
        typedef __typeof__(_Tp2() + _Up2() + _Vp2() + _Wp2()) __type;
                ^

/usr/include/c++/11/ext/type_traits.h(220): error: expected a ";"
        typedef __typeof__(_Tp2() + _Up2() + _Vp2() + _Wp2()) __type;
                                                              ^

/usr/include/c++/11/ext/numeric_traits.h(32): warning #161-D: unrecognized #pragma
  #pragma GCC system_header
          ^

/usr/include/c++/11/ext/numeric_traits.h(57): error: identifier "__CHAR_BIT__" is undefined
        enum { __width = __value ? sizeof(_Tp) * __CHAR_BIT__ : 0 };
                                                 ^

/usr/include/c++/11/ext/numeric_traits.h(159): error: identifier "__FLT_MANT_DIG__" is undefined
        static const int __max_digits10 = __glibcxx_max_digits10(_Value);
                                          ^

/usr/include/c++/11/ext/numeric_traits.h(163): error: identifier "__FLT_DIG__" is undefined
        static const int __digits10 = __glibcxx_digits10(_Value);
                                      ^

/usr/include/c++/11/ext/numeric_traits.h(164): error: identifier "__FLT_MAX_10_EXP__" is undefined
        static const int __max_exponent10 = __glibcxx_max_exponent10(_Value);
                                            ^

/usr/include/c++/11/bits/move.h(49): error: A function without execution space annotations (__host__/__device__/__global__) is considered a host function, and host functions are not allowed in JIT mode. Consider using -default-device flag to process unannotated functions as __device__ functions in JIT mode
      __addressof(_Tp& __r) _GLIBCXX_NOEXCEPT
      ^

/usr/include/c++/11/type_traits(32): warning #161-D: unrecognized #pragma
  #pragma GCC system_header
          ^

/usr/include/c++/11/type_traits(70): error: A function without execution space annotations (__host__/__device__/__global__) is considered a host function, and host functions are not allowed in JIT mode. Consider using -default-device flag to process unannotated functions as __device__ functions in JIT mode
        constexpr operator value_type() const noexcept { return value; }
                  ^

/usr/include/c++/11/type_traits(75): error: A function without execution space annotations (__host__/__device__/__global__) is considered a host function, and host functions are not allowed in JIT mode. Consider using -default-device flag to process unannotated functions as __device__ functions in JIT mode
        constexpr value_type operator()() const noexcept { return value; }
                             ^

/usr/include/c++/11/type_traits(228): error: A function without execution space annotations (__host__/__device__/__global__) is considered a host function, and host functions are not allowed in JIT mode. Consider using -default-device flag to process unannotated functions as __device__ functions in JIT mode
      constexpr true_type __is_complete_or_unbounded(__type_identity<_Tp>)
                          ^

/usr/include/c++/11/type_traits(238): error: A function without execution space annotations (__host__/__device__/__global__) is considered a host function, and host functions are not allowed in JIT mode. Consider using -default-device flag to process unannotated functions as __device__ functions in JIT mode
      >::type __is_complete_or_unbounded(_TypeIdentity)
              ^

/usr/include/c++/11/type_traits(431): error: template parameter "_Tp" is not used in or cannot be deduced from the template argument list of class template "std::is_array<<error-type>>"
    template<typename _Tp, std::size_t _Size>
                      ^

/usr/include/c++/11/type_traits(431): error: constant "_Size" is not used in or cannot be deduced from the template argument list of class template "std::is_array<<error-type>>"
    template<typename _Tp, std::size_t _Size>
                                       ^

/usr/include/c++/11/type_traits(808): error: A function without execution space annotations (__host__/__device__/__global__) is considered a host function, and host functions are not allowed in JIT mode. Consider using -default-device flag to process unannotated functions as __device__ functions in JIT mode
      __declval(int);
      ^

/usr/include/c++/11/type_traits(812): error: A function without execution space annotations (__host__/__device__/__global__) is considered a host function, and host functions are not allowed in JIT mode. Consider using -default-device flag to process unannotated functions as __device__ functions in JIT mode
      __declval(long);
      ^

/usr/include/c++/11/type_traits(816): error: A function without execution space annotations (__host__/__device__/__global__) is considered a host function, and host functions are not allowed in JIT mode. Consider using -default-device flag to process unannotated functions as __device__ functions in JIT mode
      auto declval() noexcept -> decltype(__declval<_Tp>(0));
           ^

/usr/include/c++/11/type_traits(845): error: A function without execution space annotations (__host__/__device__/__global__) is considered a host function, and host functions are not allowed in JIT mode. Consider using -default-device flag to process unannotated functions as __device__ functions in JIT mode
        static true_type __test(int);
                         ^

/usr/include/c++/11/type_traits(848): error: A function without execution space annotations (__host__/__device__/__global__) is considered a host function, and host functions are not allowed in JIT mode. Consider using -default-device flag to process unannotated functions as __device__ functions in JIT mode
        static false_type __test(...);
                          ^

/usr/include/c++/11/type_traits(899): error: A function without execution space annotations (__host__/__device__/__global__) is considered a host function, and host functions are not allowed in JIT mode. Consider using -default-device flag to process unannotated functions as __device__ functions in JIT mode
        __test(int);
        ^

/usr/include/c++/11/type_traits(902): error: A function without execution space annotations (__host__/__device__/__global__) is considered a host function, and host functions are not allowed in JIT mode. Consider using -default-device flag to process unannotated functions as __device__ functions in JIT mode
        static false_type __test(...);
                          ^

/usr/include/c++/11/type_traits(1211): error: A function without execution space annotations (__host__/__device__/__global__) is considered a host function, and host functions are not allowed in JIT mode. Consider using -default-device flag to process unannotated functions as __device__ functions in JIT mode
      static void __helper(const _Tp&);
                  ^

/usr/include/c++/11/type_traits(1214): error: A function without execution space annotations (__host__/__device__/__global__) is considered a host function, and host functions are not allowed in JIT mode. Consider using -default-device flag to process unannotated functions as __device__ functions in JIT mode
      static true_type __test(const _Tp&,
                       ^

/usr/include/c++/11/type_traits(1217): error: A function without execution space annotations (__host__/__device__/__global__) is considered a host function, and host functions are not allowed in JIT mode. Consider using -default-device flag to process unannotated functions as __device__ functions in JIT mode
      static false_type __test(...);
                        ^

/usr/include/c++/11/type_traits(1372): error: template parameter "_Tp" is not used in or cannot be deduced from the template argument list of class template "std::rank<<error-type>>"
    template<typename _Tp, std::size_t _Size>
                      ^

/usr/include/c++/11/type_traits(1372): error: constant "_Size" is not used in or cannot be deduced from the template argument list of class template "std::rank<<error-type>>"
    template<typename _Tp, std::size_t _Size>
                                       ^

/usr/include/c++/11/type_traits(1385): error: template parameter "_Tp" is not used in or cannot be deduced from the template argument list of class template "std::extent<<error-type>, _Uint>"
    template<typename _Tp, unsigned _Uint, std::size_t _Size>
                      ^

/usr/include/c++/11/type_traits(1385): error: constant "_Size" is not used in or cannot be deduced from the template argument list of class template "std::extent<<error-type>, _Uint>"
    template<typename _Tp, unsigned _Uint, std::size_t _Size>
                                                       ^

/usr/include/c++/11/type_traits(1433): warning #161-D: unrecognized #pragma
  #pragma GCC diagnostic push
          ^

/usr/include/c++/11/type_traits(1434): warning #161-D: unrecognized #pragma
  #pragma GCC diagnostic ignored "-Wctor-dtor-privacy"
          ^

/usr/include/c++/11/type_traits(1439): error: A function without execution space annotations (__host__/__device__/__global__) is considered a host function, and host functions are not allowed in JIT mode. Consider using -default-device flag to process unannotated functions as __device__ functions in JIT mode
  	static void __test_aux(_To1) noexcept;
  	            ^

/usr/include/c++/11/type_traits(1444): error: A function without execution space annotations (__host__/__device__/__global__) is considered a host function, and host functions are not allowed in JIT mode. Consider using -default-device flag to process unannotated functions as __device__ functions in JIT mode
  	__test(int);
  	^

/usr/include/c++/11/type_traits(1448): error: A function without execution space annotations (__host__/__device__/__global__) is considered a host function, and host functions are not allowed in JIT mode. Consider using -default-device flag to process unannotated functions as __device__ functions in JIT mode
  	__test(...);
  	^

/usr/include/c++/11/type_traits(1453): warning #161-D: unrecognized #pragma
  #pragma GCC diagnostic pop
          ^

/usr/include/c++/11/type_traits(1473): warning #161-D: unrecognized #pragma
  #pragma GCC diagnostic push
          ^

/usr/include/c++/11/type_traits(1474): warning #161-D: unrecognized #pragma
  #pragma GCC diagnostic ignored "-Wctor-dtor-privacy"
          ^

/usr/include/c++/11/type_traits(1479): error: A function without execution space annotations (__host__/__device__/__global__) is considered a host function, and host functions are not allowed in JIT mode. Consider using -default-device flag to process unannotated functions as __device__ functions in JIT mode
  	static void __test_aux(_To1) noexcept;
  	            ^

/usr/include/c++/11/type_traits(1484): error: A function without execution space annotations (__host__/__device__/__global__) is considered a host function, and host functions are not allowed in JIT mode. Consider using -default-device flag to process unannotated functions as __device__ functions in JIT mode
  	__test(int);
  	^

/usr/include/c++/11/type_traits(1488): error: A function without execution space annotations (__host__/__device__/__global__) is considered a host function, and host functions are not allowed in JIT mode. Consider using -default-device flag to process unannotated functions as __device__ functions in JIT mode
  	__test(...);
  	^

/usr/include/c++/11/type_traits(1493): warning #161-D: unrecognized #pragma
  #pragma GCC diagnostic pop
          ^

/usr/include/c++/11/type_traits(1764): error: constant "_Sz" is not used in or cannot be deduced from the template argument list of class template "std::__make_unsigned_selector_base::__select<<error-constant>, std::__make_unsigned_selector_base::_List<_Uint, _UInts...>, true>"
      template<size_t _Sz, typename _Uint, typename... _UInts>
                      ^

/usr/include/c++/11/type_traits(1768): error: constant "_Sz" is not used in or cannot be deduced from the template argument list of class template "std::__make_unsigned_selector_base::__select<<error-constant>, std::__make_unsigned_selector_base::_List<_Uint, _UInts...>, false>"
      template<size_t _Sz, typename _Uint, typename... _UInts>
                      ^

/usr/include/c++/11/type_traits(1783): error: incomplete type "std::__make_unsigned_selector_base::__select<<error-constant>, std::__make_unsigned_selector<char16_t, false, true>::_UInts, <error-constant>>" (aka "std::__make_unsigned_selector_base::__select<<error-constant>, std::__make_unsigned_selector_base::_List<unsigned char, unsigned short, unsigned int, unsigned long, unsigned long long>, <error-constant>>") is not allowed
        using __unsigned_type = typename __select<sizeof(_Tp), _UInts>::__type;
                                         ^
          detected during instantiation of class "std::__make_unsigned_selector<_Tp, false, true> [with _Tp=char16_t]" at line 1816

/usr/include/c++/11/type_traits(1682): error: incomplete type "std::__cv_selector<std::__make_unsigned_selector<char16_t, false, true>::__unsigned_type, false, false>" is not allowed
        typedef typename __match::__type __type;
                         ^
          detected during:
            instantiation of class "std::__match_cv_qualifiers<_Qualified, _Unqualified, _IsConst, _IsVol> [with _Qualified=char16_t, _Unqualified=<error-type>, _IsConst=false, _IsVol=false]" at line 1787
            instantiation of class "std::__make_unsigned_selector<_Tp, false, true> [with _Tp=char16_t]" at line 1816

/usr/include/c++/11/type_traits(1783): error: incomplete type "std::__make_unsigned_selector_base::__select<<error-constant>, std::__make_unsigned_selector<char16_t, false, true>::_UInts, <error-constant>>" (aka "std::__make_unsigned_selector_base::__select<<error-constant>, std::__make_unsigned_selector_base::_List<unsigned char, unsigned short, unsigned int, unsigned long, unsigned long long>, <error-constant>>") is not allowed
        using __unsigned_type = typename __select<sizeof(_Tp), _UInts>::__type;
                                         ^
          detected during instantiation of class "std::__make_unsigned_selector<_Tp, false, true> [with _Tp=char32_t]" at line 1823

/usr/include/c++/11/type_traits(1682): error: incomplete type "std::__cv_selector<std::__make_unsigned_selector<char16_t, false, true>::__unsigned_type, false, false>" is not allowed
        typedef typename __match::__type __type;
                         ^
          detected during:
            instantiation of class "std::__match_cv_qualifiers<_Qualified, _Unqualified, _IsConst, _IsVol> [with _Qualified=char32_t, _Unqualified=<error-type>, _IsConst=false, _IsVol=false]" at line 1787
            instantiation of class "std::__make_unsigned_selector<_Tp, false, true> [with _Tp=char32_t]" at line 1823

/usr/include/c++/11/type_traits(1915): error: incomplete type "std::__make_signed_selector<std::__make_signed_selector<char16_t, false, true>::__unsigned_type, false, <error-constant>>" is not allowed
        typedef typename __make_signed_selector<__unsigned_type>::__type __type;
                         ^
          detected during instantiation of class "std::__make_signed_selector<_Tp, false, true> [with _Tp=char16_t]" at line 1944

/usr/include/c++/11/type_traits(1915): error: incomplete type "std::__make_signed_selector<std::__make_signed_selector<char16_t, false, true>::__unsigned_type, false, <error-constant>>" is not allowed
        typedef typename __make_signed_selector<__unsigned_type>::__type __type;
                         ^
          detected during instantiation of class "std::__make_signed_selector<_Tp, false, true> [with _Tp=char32_t]" at line 1951

/usr/include/c++/11/type_traits(1984): error: template parameter "_Tp" is not used in or cannot be deduced from the template argument list of class template "std::remove_extent<<error-type>>"
    template<typename _Tp, std::size_t _Size>
                      ^

/usr/include/c++/11/type_traits(1984): error: constant "_Size" is not used in or cannot be deduced from the template argument list of class template "std::remove_extent<<error-type>>"
    template<typename _Tp, std::size_t _Size>
                                       ^

/usr/include/c++/11/type_traits(1997): error: template parameter "_Tp" is not used in or cannot be deduced from the template argument list of class template "std::remove_all_extents<<error-type>>"
    template<typename _Tp, std::size_t _Size>
                      ^

/usr/include/c++/11/type_traits(1997): error: constant "_Size" is not used in or cannot be deduced from the template argument list of class template "std::remove_all_extents<<error-type>>"
    template<typename _Tp, std::size_t _Size>
                                       ^

/usr/include/c++/11/type_traits(2132): error: template argument list must match the parameter list
      const size_t aligned_union<_Len, _Types...>::alignment_value;
                   ^

/usr/include/c++/11/type_traits(2245): error: A function without execution space annotations (__host__/__device__/__global__) is considered a host function, and host functions are not allowed in JIT mode. Consider using -default-device flag to process unannotated functions as __device__ functions in JIT mode
        _S_test(int);
        ^

/usr/include/c++/11/type_traits(2257): error: A function without execution space annotations (__host__/__device__/__global__) is considered a host function, and host functions are not allowed in JIT mode. Consider using -default-device flag to process unannotated functions as __device__ functions in JIT mode
        _S_test_2(...);
        ^

/usr/include/c++/11/type_traits(2261): error: A function without execution space annotations (__host__/__device__/__global__) is considered a host function, and host functions are not allowed in JIT mode. Consider using -default-device flag to process unannotated functions as __device__ functions in JIT mode
        _S_test(...);
        ^

/usr/include/c++/11/type_traits(2358): error: A function without execution space annotations (__host__/__device__/__global__) is considered a host function, and host functions are not allowed in JIT mode. Consider using -default-device flag to process unannotated functions as __device__ functions in JIT mode
      auto declval() noexcept -> decltype(__declval<_Tp>(0))
           ^

/usr/include/c++/11/type_traits(2391): error: A function without execution space annotations (__host__/__device__/__global__) is considered a host function, and host functions are not allowed in JIT mode. Consider using -default-device flag to process unannotated functions as __device__ functions in JIT mode
        ), __invoke_memfun_ref> _S_test(int);
                                ^

/usr/include/c++/11/type_traits(2394): error: A function without execution space annotations (__host__/__device__/__global__) is considered a host function, and host functions are not allowed in JIT mode. Consider using -default-device flag to process unannotated functions as __device__ functions in JIT mode
        static __failure_type _S_test(...);
                              ^

/usr/include/c++/11/type_traits(2410): error: A function without execution space annotations (__host__/__device__/__global__) is considered a host function, and host functions are not allowed in JIT mode. Consider using -default-device flag to process unannotated functions as __device__ functions in JIT mode
        ), __invoke_memfun_deref> _S_test(int);
                                  ^

/usr/include/c++/11/type_traits(2413): error: A function without execution space annotations (__host__/__device__/__global__) is considered a host function, and host functions are not allowed in JIT mode. Consider using -default-device flag to process unannotated functions as __device__ functions in JIT mode
        static __failure_type _S_test(...);
                              ^

/usr/include/c++/11/type_traits(2429): error: A function without execution space annotations (__host__/__device__/__global__) is considered a host function, and host functions are not allowed in JIT mode. Consider using -default-device flag to process unannotated functions as __device__ functions in JIT mode
        ), __invoke_memobj_ref> _S_test(int);
                                ^

/usr/include/c++/11/type_traits(2432): error: A function without execution space annotations (__host__/__device__/__global__) is considered a host function, and host functions are not allowed in JIT mode. Consider using -default-device flag to process unannotated functions as __device__ functions in JIT mode
        static __failure_type _S_test(...);
                              ^

/usr/include/c++/11/type_traits(2448): error: A function without execution space annotations (__host__/__device__/__global__) is considered a host function, and host functions are not allowed in JIT mode. Consider using -default-device flag to process unannotated functions as __device__ functions in JIT mode
        ), __invoke_memobj_deref> _S_test(int);
                                  ^

/usr/include/c++/11/type_traits(2451): error: A function without execution space annotations (__host__/__device__/__global__) is considered a host function, and host functions are not allowed in JIT mode. Consider using -default-device flag to process unannotated functions as __device__ functions in JIT mode
        static __failure_type _S_test(...);
                              ^

/usr/include/c++/11/type_traits(2531): error: A function without execution space annotations (__host__/__device__/__global__) is considered a host function, and host functions are not allowed in JIT mode. Consider using -default-device flag to process unannotated functions as __device__ functions in JIT mode
        ), __invoke_other> _S_test(int);
                           ^

/usr/include/c++/11/type_traits(2534): error: A function without execution space annotations (__host__/__device__/__global__) is considered a host function, and host functions are not allowed in JIT mode. Consider using -default-device flag to process unannotated functions as __device__ functions in JIT mode
        static __failure_type _S_test(...);
                              ^

/usr/include/c++/11/type_traits(2676): error: A function without execution space annotations (__host__/__device__/__global__) is considered a host function, and host functions are not allowed in JIT mode. Consider using -default-device flag to process unannotated functions as __device__ functions in JIT mode
      swap(_Tp&, _Tp&)
      ^

/usr/include/c++/11/type_traits(2684): error: A function without execution space annotations (__host__/__device__/__global__) is considered a host function, and host functions are not allowed in JIT mode. Consider using -default-device flag to process unannotated functions as __device__ functions in JIT mode
      swap(_Tp (&__a)[_Nm], _Tp (&__b)[_Nm])
      ^

/usr/include/c++/11/type_traits(2695): error: A function without execution space annotations (__host__/__device__/__global__) is considered a host function, and host functions are not allowed in JIT mode. Consider using -default-device flag to process unannotated functions as __device__ functions in JIT mode
          static true_type __test(int);
                           ^

/usr/include/c++/11/type_traits(2698): error: A function without execution space annotations (__host__/__device__/__global__) is considered a host function, and host functions are not allowed in JIT mode. Consider using -default-device flag to process unannotated functions as __device__ functions in JIT mode
          static false_type __test(...);
                            ^

/usr/include/c++/11/type_traits(2706): error: A function without execution space annotations (__host__/__device__/__global__) is considered a host function, and host functions are not allowed in JIT mode. Consider using -default-device flag to process unannotated functions as __device__ functions in JIT mode
          > __test(int);
            ^

/usr/include/c++/11/type_traits(2709): error: A function without execution space annotations (__host__/__device__/__global__) is considered a host function, and host functions are not allowed in JIT mode. Consider using -default-device flag to process unannotated functions as __device__ functions in JIT mode
          static false_type __test(...);
                            ^

/usr/include/c++/11/type_traits(2783): error: A function without execution space annotations (__host__/__device__/__global__) is considered a host function, and host functions are not allowed in JIT mode. Consider using -default-device flag to process unannotated functions as __device__ functions in JIT mode
          static true_type __test(int);
                           ^

Error limit reached.
100 errors detected in the compilation of "test_beta_kernel.cu".
Compilation terminated.



0% tests passed, 1 tests failed out of 1

Total Test time (real) =   0.02 sec

The following tests FAILED:
	  1 - run-boost_cuda_math-test_beta_nvrtc (Failed)
Errors while running CTest
[mborland@DESKTOP-F265CLN build]$ 

It looks like cupy does not use any of the STL so this path may be a non-starter

@mborland mborland merged commit 253ad83 into master Aug 7, 2024
3 checks passed
@mborland mborland deleted the NVRTC branch August 7, 2024 15:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add NVRTC runner to CI
1 participant