The Wayback Machine - https://web.archive.org/web/20201003190323/https://github.com/topics/cuda
Skip to content
#

cuda

Here are 2,464 public repositories matching this topic...

numba
LucIJspeert
LucIJspeert commented Sep 20, 2020
  • I have tried using the latest released version of Numba
  • I have included below a minimal working reproducer

In trying to replace numpy's setxor1d (which is unfortunately not supported by Numba), I came across an error that does occur for (integer) ndarrays but not for lists.
In my case the setxor1d can be replaced by [i for i in a if i not in b], but for the sake of testing, here i

andrewcorrigan
andrewcorrigan commented Apr 13, 2015

Would it make sense to add a variadic overload of make_zip_iterator that composes the existing make_zip_iterator with make_tuple? I have this in my own code, and I find that it reduces syntactic overhead.

template<typename... Iterators>
__host__ __device__
  zip_iterator<thrust::tuple<Iterators...>> make_zip_iterator(thrust::tuple<Iterators...> t)
{
    return zip_iterator<thrust::tupl
futhark

Improve this page

Add a description, image, and links to the cuda topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the cuda topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.