Hi,
Is there no way to do cudaMalloc inside a device function ?
From what I understand cudaMalloc (being a host function) can only be called from a host function(naturally).
I want to allocate memory “on the fly”.
The data structure for which I want to cudaMalloc is designed to be device only.
Thanks
–PsycloXPS