Skip to content
#

cxx

Here are 427 public repositories matching this topic...

thrust
jrhemstad
jrhemstad commented May 12, 2022

It is a very common pitfall of Thrust users to attempt to use a __device__ lambda with Thrust algorithms or iterators that fails in silent or obscure ways.

This is frequently due to the limitation that you cannot reliably query the return type of an extended lambda in host code. Specifically

type: enhancement P1: should have good first issue compiler: nvcc
cub
eyalroz
eyalroz commented Mar 31, 2016

I would like to be able to determine my device-wide primitive's temp_storage_bytes before I have all of the primitive's arguments ready. The interface for obtaining it ostensibly requires everything to be ready for the actual run - and the documentation does not make it clear what arguments it actually needs and what it's going to do with them (e.g. will it look at the input at all, in any way? Pr

type: enhancement P1: should have good first issue area: docs
Xanewok
Xanewok commented Feb 10, 2022

Introduced in #128.

The original reason for that is purely technical - it is required to call unshare(CLONE_NEWUSER) in the main thread of a program. Since cachepot-dist is multi-threaded and the build is executed on a new thread, we used a hack in which we fork() and call unshare in the forked child (fork() forks the calling thread into a main thread of a forked child process).

Us

good first issue

Improve this page

Add a description, image, and links to the cxx 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 cxx topic, visit your repo's landing page and select "manage topics."

Learn more