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

[BUG]: cannot print thrust::device_vector<cuproj::vec_2d<float>> #1506

Open
wblangdon opened this issue Dec 18, 2024 · 2 comments
Open

[BUG]: cannot print thrust::device_vector<cuproj::vec_2d<float>> #1506

wblangdon opened this issue Dec 18, 2024 · 2 comments
Labels
bug Something isn't working External Issues filed by people outside the team Needs Triage Need team to review and classify

Comments

@wblangdon
Copy link

Version

cuspatial-branch-24.12

On which installation method(s) does this occur?

Source

Describe the issue

I can print cuproj::vec_2d
However trying to print thrust::device_vector<cuproj::vec_2d>
fails to compile, giving error: no operator "<<" matches these operands
and multiple instances of does not match because argument #1 does not match parameter

Minimum reproducible example

print.cu (and nvcc command line in print.bat) should be attached

/*WBL 18 Dec 2024
  show problem with printing thrust::device_vector cuproj::vec_2d

  https://docs.rapids.ai/api/libcuproj/stable/classcuproj_1_1vec__2d
 */
#include <iostream>
  using namespace std;

#include <cuproj/projection_factories.cuh>
#include <cuproj/vec_2d.hpp>

int main() {                            
  cout << "start main()\n"; 

  cuproj::vec_2d<float> sydney{-33.858700, 151.214000};  // Sydney, NSW, Australia
  thrust::device_vector<cuproj::vec_2d<float>> d_in{1, sydney};
  cout << "sydney "<<sydney<<endl; //ok
//cout << "d_in   "<< d_in <<endl; //error: no operator "<<" matches these operands
  cout << d_in;                    //error: no operator "<<" matches these operands

/*Other things tried eg:
//https://stackoverflow.com/questions/16379959/template-function-to-print-a-thrust-vector
  thrust::device_vector<float> vec = {1.0/9.0,3.14159265359};
  cout<<"device_vector<float> ";
  thrust::copy(vec.begin(), vec.end(), std::ostream_iterator<float>(std::cout, " "));
//fails to compile      thrust::copy(d_out.begin(), d_out.end(), std::ostream_iterator<float>(std::cout, " "));
  cout<<endl;
*/
  cout << "end main\n"; 
}

Relevant log output

print.bat.out should be attached in zip
//WBL 18 Dec 2024 clean output of print.bat by hand

nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2024 NVIDIA Corporation
Built on Wed_Aug_14_10:10:22_PDT_2024
Cuda compilation tools, release 12.6, V12.6.68
Build cuda_12.6.r12.6/compiler.34714021_0

print.cu(19): error: no operator "<<" matches these operands
            operand types are: std::ostream << thrust::device_vector<cuproj::vec_2d<float>, thrust::device_allocator<cuproj::vec_2d<float>>>
    cout << d_in;
         ^
/usr/include/c++/11/ostream(283): note #3326-D: function "std::basic_ostream<_CharT, _Traits>::operator<<(std::basic_ostream<_CharT, _Traits>::__streambuf_type *) [with _CharT=char, _Traits=std::char_traits<char>]" does not match because argument #1 does not match parameter
        operator<<(__streambuf_type* __sb);
        ^
/usr/include/c++/11/ostream(250): note #3326-D: function "std::basic_ostream<_CharT, _Traits>::operator<<(std::nullptr_t) [with _CharT=char, _Traits=std::char_traits<char>]" does not match because argument #1 does not match parameter
        operator<<(nullptr_t)
        ^
/usr/include/c++/11/ostream(245): note #3326-D: function "std::basic_ostream<_CharT, _Traits>::operator<<(const void *) [with _CharT=char, _Traits=std::char_traits<char>]" does not match because argument #1 does not match parameter
        operator<<(const void* __p)
        ^
/usr/include/c++/11/ostream(232): note #3326-D: function "std::basic_ostream<_CharT, _Traits>::operator<<(long double) [with _CharT=char, _Traits=std::char_traits<char>]" does not match because argument #1 does not match parameter
        operator<<(long double __f)
        ^
/usr/include/c++/11/ostream(224): note #3326-D: function "std::basic_ostream<_CharT, _Traits>::operator<<(float) [with _CharT=char, _Traits=std::char_traits<char>]" does not match because argument #1 does not match parameter
        operator<<(float __f)
        ^
/usr/include/c++/11/ostream(220): note #3326-D: function "std::basic_ostream<_CharT, _Traits>::operator<<(double) [with _CharT=char, _Traits=std::char_traits<char>]" does not match because argument #1 does not match parameter
        operator<<(double __f)
        ^
/usr/include/c++/11/ostream(205): note #3326-D: function "std::basic_ostream<_CharT, _Traits>::operator<<(unsigned long long) [with _CharT=char, _Traits=std::char_traits<char>]" does not match because argument #1 does not match parameter
        operator<<(unsigned long long __n)
        ^
/usr/include/c++/11/ostream(201): note #3326-D: function "std::basic_ostream<_CharT, _Traits>::operator<<(long long) [with _CharT=char, _Traits=std::char_traits<char>]" does not match because argument #1 does not match parameter
        operator<<(long long __n)
        ^
/usr/include/c++/11/ostream(192): note #3326-D: function "std::basic_ostream<_CharT, _Traits>::operator<<(unsigned int) [with _CharT=char, _Traits=std::char_traits<char>]" does not match because argument #1 does not match parameter
        operator<<(unsigned int __n)
        ^
/usr/include/c++/11/ostream(189): note #3326-D: function "std::basic_ostream<_CharT, _Traits>::operator<<(int) [with _CharT=char, _Traits=std::char_traits<char>]" does not match because argument #1 does not match parameter
        operator<<(int __n);
        ^
/usr/include/c++/11/ostream(181): note #3326-D: function "std::basic_ostream<_CharT, _Traits>::operator<<(unsigned short) [with _CharT=char, _Traits=std::char_traits<char>]" does not match because argument #1 does not match parameter
        operator<<(unsigned short __n)
        ^
/usr/include/c++/11/ostream(178): note #3326-D: function "std::basic_ostream<_CharT, _Traits>::operator<<(short) [with _CharT=char, _Traits=std::char_traits<char>]" does not match because argument #1 does not match parameter
        operator<<(short __n);
        ^
/usr/include/c++/11/ostream(174): note #3326-D: function "std::basic_ostream<_CharT, _Traits>::operator<<(bool) [with _CharT=char, _Traits=std::char_traits<char>]" does not match because argument #1 does not match parameter
        operator<<(bool __n)
        ^
/usr/include/c++/11/ostream(170): note #3326-D: function "std::basic_ostream<_CharT, _Traits>::operator<<(unsigned long) [with _CharT=char, _Traits=std::char_traits<char>]" does not match because argument #1 does not match parameter
        operator<<(unsigned long __n)
        ^
/usr/include/c++/11/ostream(166): note #3326-D: function "std::basic_ostream<_CharT, _Traits>::operator<<(long) [with _CharT=char, _Traits=std::char_traits<char>]" does not match because argument #1 does not match parameter
        operator<<(long __n)
        ^
/usr/include/c++/11/ostream(127): note #3326-D: function "std::basic_ostream<_CharT, _Traits>::operator<<(std::ios_base &(*)(std::ios_base &)) [with _CharT=char, _Traits=std::char_traits<char>]" does not match because argument #1 does not match parameter
        operator<<(ios_base& (*__pf) (ios_base&))
        ^
/usr/include/c++/11/ostream(117): note #3326-D: function "std::basic_ostream<_CharT, _Traits>::operator<<(std::basic_ostream<_CharT, _Traits>::__ios_type &(*)(std::basic_ostream<_CharT, _Traits>::__ios_type &)) [with _CharT=char, _Traits=std::char_traits<char>]" does not match because argument #1 does not match parameter
        operator<<(__ios_type& (*__pf)(__ios_type&))
        ^
/usr/include/c++/11/ostream(108): note #3326-D: function "std::basic_ostream<_CharT, _Traits>::operator<<(std::basic_ostream<_CharT, _Traits>::__ostream_type &(*)(std::basic_ostream<_CharT, _Traits>::__ostream_type &)) [with _CharT=char, _Traits=std::char_traits<char>]" does not match because argument #1 does not match parameter
        operator<<(__ostream_type& (*__pf)(__ostream_type&))
        ^
/usr/include/c++/11/string_view(670): note #3327-D: candidate function template "std::operator<<(std::basic_ostream<_CharT, _Traits> &, std::basic_string_view<_CharT, _Traits>)" failed deduction
      operator<<(basic_ostream<_CharT, _Traits>& __os,
      ^
/usr/include/c++/11/bits/basic_string.h(6531): note #3327-D: candidate function template "std::operator<<(std::basic_ostream<_CharT, _Traits> &, const std::__cxx11::basic_string<_CharT, _Traits, _Alloc> &)" failed deduction
      operator<<(basic_ostream<_CharT, _Traits>& __os,
      ^
/usr/include/c++/11/system_error(279): note #3326-D: function template "std::operator<<(std::basic_ostream<_CharT, _Traits> &, const std::error_code &)" does not match because argument #2 does not match parameter
      operator<<(basic_ostream<_CharT, _Traits>& __os, const error_code& __e)
      ^
/usr/include/c++/11/ostream(513): note #3327-D: candidate function template "std::operator<<(std::basic_ostream<_CharT, _Traits> &, _CharT)" failed deduction
      operator<<(basic_ostream<_CharT, _Traits>& __out, _CharT __c)
      ^
/usr/include/c++/11/ostream(518): note #3326-D: function template "std::operator<<(std::basic_ostream<_CharT, _Traits> &, char)" does not match because argument #2 does not match parameter
      operator<<(basic_ostream<_CharT, _Traits>& __out, char __c)
      ^
/usr/include/c++/11/ostream(524): note #3326-D: function template "std::operator<<(std::basic_ostream<char, _Traits> &, char)" does not match because argument #2 does not match parameter
      operator<<(basic_ostream<char, _Traits>& __out, char __c)
      ^
/usr/include/c++/11/ostream(530): note #3326-D: function template "std::operator<<(std::basic_ostream<char, _Traits> &, signed char)" does not match because argument #2 does not match parameter
      operator<<(basic_ostream<char, _Traits>& __out, signed char __c)
      ^
/usr/include/c++/11/ostream(535): note #3326-D: function template "std::operator<<(std::basic_ostream<char, _Traits> &, unsigned char)" does not match because argument #2 does not match parameter
      operator<<(basic_ostream<char, _Traits>& __out, unsigned char __c)
      ^
/usr/include/c++/11/ostream(594): note #3327-D: candidate function template "std::operator<<(std::basic_ostream<_CharT, _Traits> &, const _CharT *)" failed deduction
      operator<<(basic_ostream<_CharT, _Traits>& __out, const _CharT* __s)
      ^
/usr/include/c++/11/bits/ostream.tcc(321): note #3326-D: function template "std::operator<<(std::basic_ostream<_CharT, _Traits> &, const char *)" does not match because argument #2 does not match parameter
      operator<<(basic_ostream<_CharT, _Traits>& __out, const char* __s)
      ^
/usr/include/c++/11/ostream(611): note #3326-D: function template "std::operator<<(std::basic_ostream<char, _Traits> &, const char *)" does not match because argument #2 does not match parameter
      operator<<(basic_ostream<char, _Traits>& __out, const char* __s)
      ^
/usr/include/c++/11/ostream(624): note #3326-D: function template "std::operator<<(std::basic_ostream<char, _Traits> &, const signed char *)" does not match because argument #2 does not match parameter
      operator<<(basic_ostream<char, _Traits>& __out, const signed char* __s)
      ^
/usr/include/c++/11/ostream(629): note #3326-D: function template "std::operator<<(std::basic_ostream<char, _Traits> &, const unsigned char *)" does not match because argument #2 does not match parameter
      operator<<(basic_ostream<char, _Traits>& __out, const unsigned char* __s)
      ^
/usr/include/c++/11/ostream(750): note #3327-D: candidate function template "std::operator<<(_Ostream &&, const _Tp &)" failed deduction
      operator<<(_Ostream&& __os, const _Tp& __x)
      ^
/usr/include/c++/11/cstddef(126): note #3326-D: function template "std::operator<<(std::byte, _IntegerType) noexcept" does not match because argument #1 does not match parameter
      operator<<(byte __b, _IntegerType __shift) noexcept
      ^
/usr/include/c++/11/bits/shared_ptr.h(70): note #3327-D: candidate function template "std::operator<<(std::basic_ostream<_Ch, _Tr> &, const std::__shared_ptr<_Tp, _Lp> &)" failed deduction
      operator<<(std::basic_ostream<_Ch, _Tr>& __os,
      ^
xxx/assugi/cuproj/cuspatial/cpp/build/_deps/cccl-src/thrust/thrust/cmake/../../thrust/detail/reference.h(389): note #3327-D: candidate function template "thrust::operator<<(std::basic_ostream<CharT, Traits> &, const thrust::reference<Element, Pointer, Derived> &)" failed deduction
  operator<<(std::basic_ostream<CharT, Traits>& os, reference<Element, Pointer, Derived> const& r)
  ^
xxx/assugi/cuproj/cuspatial/cpp/build/_deps/cccl-src/thrust/thrust/cmake/../../thrust/detail/pointer.inl(141): note #3327-D: candidate function template "thrust::operator<<(std::basic_ostream<charT, traits> &, const thrust::pointer<Element, Tag, Reference, Derived> &)" failed deduction
  operator<<(std::basic_ostream<charT, traits>& os, const pointer<Element, Tag, Reference, Derived>& p)
  ^
xxx/assugi/cuproj/cuspatial/cpp/cuproj/include/cuproj/vec_2d.hpp(52): note #3326-D: function "cuproj::operator<<" does not match because argument #2 does not match parameter
    friend std::ostream& operator<<(std::ostream& os, vec_2d<T> const& vec)
                         ^
/usr/include/c++/11/system_error(206): note #3328-D: built-in operator<<(<promoted integral>, <promoted integral>) does not match because argument #1 does not match parameter
        enable_if<is_error_code_enum<_ErrorCodeEnum>::value>::type>
                  ^

1 error detected in the compilation of "print.cu".
nvcc status 2
ls: cannot access './a.out': No such file or directory

Environment details

print_env.sh.out_18-dec-2024 should be attached in zip
WBL 18 Dec 2024 clean by hand

**git***
fatal: not a git repository (or any parent up to mount point /cs/research/crest)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).

***OS Information***
NAME="Rocky Linux"
VERSION="9.5 (Blue Onyx)"
ID="rocky"
ID_LIKE="rhel centos fedora"
VERSION_ID="9.5"
PLATFORM_ID="platform:el9"
PRETTY_NAME="Rocky Linux 9.5 (Blue Onyx)"
ANSI_COLOR="0;32"
LOGO="fedora-logo-icon"
CPE_NAME="cpe:/o:rocky:rocky:9::baseos"
HOME_URL="https://rockylinux.org/"
VENDOR_NAME="RESF"
VENDOR_URL="https://resf.org/"
BUG_REPORT_URL="https://bugs.rockylinux.org/"
SUPPORT_END="2032-05-31"
ROCKY_SUPPORT_PRODUCT="Rocky-Linux-9"
ROCKY_SUPPORT_PRODUCT_VERSION="9.5"
REDHAT_SUPPORT_PRODUCT="Rocky Linux"
REDHAT_SUPPORT_PRODUCT_VERSION="9.5"
Rocky Linux release 9.5 (Blue Onyx)
Rocky Linux release 9.5 (Blue Onyx)
Rocky Linux release 9.5 (Blue Onyx)
Linux xxx 5.14.0-503.16.1.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Dec 11 19:09:50 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

***GPU Information***
Wed Dec 18 15:17:52 2024       
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 560.35.03              Driver Version: 560.35.03      CUDA Version: 12.6     |
|-----------------------------------------+------------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id          Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |           Memory-Usage | GPU-Util  Compute M. |
|                                         |                        |               MIG M. |
|=========================================+========================+======================|
|   0  NVIDIA GeForce RTX 4070 ...    On  |   00000000:65:00.0 Off |                  N/A |
|  0%   46C    P8             11W /  285W |     146MiB /  16376MiB |      0%      Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+
                                                                                         
+-----------------------------------------------------------------------------------------+
| Processes:                                                                              |
|  GPU   GI   CI        PID   Type   Process name                              GPU Memory |
|        ID   ID                                                               Usage      |
|=========================================================================================|
|    0   N/A  N/A      2580      G   /usr/libexec/Xorg                             117MiB |
|    0   N/A  N/A      2858      G   /usr/bin/gnome-shell                           13MiB |
+-----------------------------------------------------------------------------------------+

***CPU***
Architecture:                         x86_64
CPU op-mode(s):                       32-bit, 64-bit
Address sizes:                        46 bits physical, 48 bits virtual
Byte Order:                           Little Endian
CPU(s):                               16
On-line CPU(s) list:                  0-15
Vendor ID:                            GenuineIntel
Model name:                           Intel(R) Core(TM) i7-9800X CPU @ 3.80GHz
CPU family:                           6
Model:                                85
Thread(s) per core:                   2
Core(s) per socket:                   8
Socket(s):                            1
Stepping:                             4
CPU(s) scaling MHz:                   30%
CPU max MHz:                          4500.0000
CPU min MHz:                          1200.0000
BogoMIPS:                             7599.80
Flags:                                fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb cat_l3 cdp_l3 pti ssbd mba ibrs ibpb stibp tpr_shadow flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm cqm mpx rdt_a avx512f avx512dq rdseed adx smap clflushopt clwb intel_pt avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local dtherm ida arat pln pts hwp hwp_act_window hwp_epp hwp_pkg_req vnmi md_clear flush_l1d arch_capabilities
Virtualization:                       VT-x
L1d cache:                            256 KiB (8 instances)
L1i cache:                            256 KiB (8 instances)
L2 cache:                             8 MiB (8 instances)
L3 cache:                             16.5 MiB (1 instance)
NUMA node(s):                         1
NUMA node0 CPU(s):                    0-15
Vulnerability Gather data sampling:   Mitigation; Microcode
Vulnerability Itlb multihit:          KVM: Mitigation: VMX disabled
Vulnerability L1tf:                   Mitigation; PTE Inversion; VMX conditional cache flushes, SMT vulnerable
Vulnerability Mds:                    Mitigation; Clear CPU buffers; SMT vulnerable
Vulnerability Meltdown:               Mitigation; PTI
Vulnerability Mmio stale data:        Mitigation; Clear CPU buffers; SMT vulnerable
Vulnerability Reg file data sampling: Not affected
Vulnerability Retbleed:               Mitigation; IBRS
Vulnerability Spec rstack overflow:   Not affected
Vulnerability Spec store bypass:      Mitigation; Speculative Store Bypass disabled via prctl
Vulnerability Spectre v1:             Mitigation; usercopy/swapgs barriers and __user pointer sanitization
Vulnerability Spectre v2:             Mitigation; IBRS; IBPB conditional; STIBP conditional; RSB filling; PBRSB-eIBRS Not affected; BHI Not affected
Vulnerability Srbds:                  Not affected
Vulnerability Tsx async abort:        Mitigation; Clear CPU buffers; SMT vulnerable

***CMake***
/usr/bin/cmake
cmake version 3.26.5

CMake suite maintained and supported by Kitware (kitware.com/cmake).

***g++***
/usr/bin/g++
g++ (GCC) 11.5.0 20240719 (Red Hat 11.5.0-2)
Copyright (C) 2021 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


***nvcc***
/opt/cuda/cuda-12.6/bin/nvcc
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2024 NVIDIA Corporation
Built on Wed_Aug_14_10:10:22_PDT_2024
Cuda compilation tools, release 12.6, V12.6.68
Build cuda_12.6.r12.6/compiler.34714021_0

***Python***
/usr/bin/python
Python 3.9.21

***Environment Variables***
PATH                            : /opt/cuda/cuda-12.6/bin/:/usr/share/Modules/bin:/cs/sys/software2/texlive/2018/bin/x86_64-linux:/opt/ucl/bin:/usr/sbin:/sbin:/usr/bin:/bin:/usr/bin/X11:/opt/UCLCSdefunct/bin:xxx/bin.intel:xxx/bin:.:/opt/puppetlabs/bin:/opt/thinlinc/bin
LD_LIBRARY_PATH                 : /opt/cuda/cuda-12.6/lib64:/opt/ucl/lib:/usr/X11R6/lib
NUMBAPRO_NVVM                   : 
NUMBAPRO_LIBDEVICE              : 
CONDA_PREFIX                    : 
PYTHON_PATH                     : 

xxx/assugi/cuproj/cuspatial/cpp/build/_deps/rmm-src/print_env.sh: line 58: type: conda: not found
***pip packages***
/usr/bin/pip
Package             Version
------------------- ----------
appdirs             1.4.4
Brlapi              0.8.2
cffi                1.14.5
chardet             4.0.0
cockpit             323.1
configobj           5.0.6
dasbus              1.4
dbus-python         1.2.18
distlib             0.3.2
distro              1.5.0
file-magic          0.4.0
filelock            3.7.1
gpg                 1.15.1
idna                2.10
libcomps            0.1.18
lxml                4.6.5
Mako                1.1.4.dev0
Markdown            3.3.4
MarkupSafe          1.1.1
nftables            0.1
numpy               1.20.1
olefile             0.46
packaging           20.9
perf                0.1
pexpect             4.8.0
Pillow              10.0.1
pip                 21.3.1
platformdirs        2.5.4
ply                 3.11
psutil              5.8.0
ptyprocess          0.6.0
pycairo             1.20.1
pycparser           2.20
PyGObject           3.40.1
pyinotify           0.9.6
pyparsing           2.4.7
PySocks             1.7.1
python-dateutil     2.8.1
python-linux-procfs 0.7.3
python-pam          2.0.2
pytz                2021.1
pyudev              0.22.0
PyYAML              5.4.1
pyzmq               22.3.0
requests            2.25.1
rpm                 4.16.1.3
scipy               1.6.2
scour               0.38.1
selinux             3.6
sepolicy            3.6
setools             4.4.4
setproctitle        1.2.3
setroubleshoot      3.3.32
setuptools          53.0.0
six                 1.15.0
sos                 4.8.1
systemd-python      234
terminator          2.1.3
tinycss2            1.3.0
urllib3             1.26.5
vboxapi             1.0
virtualenv          20.21.1
webencodings        0.5.1
xlrd                2.0.1
youtube-dl          2021.12.17

Other/Misc.

18-dec-2024.zip

@wblangdon wblangdon added the bug Something isn't working label Dec 18, 2024
@GPUtester GPUtester added Needs Triage Need team to review and classify External Issues filed by people outside the team labels Dec 18, 2024
@GPUtester
Copy link
Contributor

Hi @wblangdon!

Thanks for submitting this issue - our team has been notified and we'll get back to you as soon as we can!
In the mean time, feel free to add any relevant information to this issue.

@harrism
Copy link
Member

harrism commented Dec 18, 2024

I don't think device_vector has operator<<, just like std::vector does not.

You would have to write your own.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working External Issues filed by people outside the team Needs Triage Need team to review and classify
Projects
Status: Todo
Development

No branches or pull requests

3 participants