chandlerc wrote: > > A long way from an expert on OpenCL, but it seems to not even have the > > concept of `long long`, and `long` is defined as a 64-bit type (and just > > optional for embedded stuff)? > > > > https://registry.khronos.org/OpenCL/sdk/3.0/docs/man/html/scalarDataTypes.html > > Thanks for the confirmation! Does OpenCL supports Windows? IIRC, long is > 32-bit on Windows.
Yeah, it's definitely different on windows in C/C++. My impression is that opencl long is definitively 64 bit, and thats kind of why Oi exists -- to map that to `long long` outside of opencl where it would be ambiguous otherwise. https://github.com/llvm/llvm-project/pull/120831 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits