[PyCUDA] complementary error function erfc
lists at informa.tiker.net
Mon Mar 15 07:16:49 PDT 2010
On Sonntag 14 März 2010, Faisal Moledina wrote:
> Hello PyCUDA list,
> I'm just starting out with PyCUDA and have not used much more than
> gpuarray and cumath. In fact, I have yet to program my own CUDA
> kernel. I'm wondering if there is a built-in erfc method for a
> gpuarray. If PyCUDA doesn't have one built-in, how would I implement a
> CUDA kernel for erfc? Prior to PyCUDA, I was using scipy.special.erfc
> on NumPy arrays.
You could use to pycuda.elementwise to shield you from any actual CUDA
programming--and use  as a (high-quality) implementation guideline.
Maybe you could even tweak that header directly (add a few __device__
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 190 bytes
Desc: This is a digitally signed message part.
More information about the PyCUDA