0
John Belshaw
IT architect (network)
CGGVeritas
----- Original Message -----
From: [email protected] [mailto:[email protected]]
Sent: Monday, February 20, 2012 08:00 PM
To: [email protected] <[email protected]>
Subject: PyCUDA Digest, Vol 44, Issue 12
Send PyCUDA mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.tiker.net/listinfo/pycuda
or, via email, send a message with subject or body 'help' to
[email protected]
You can reach the person managing the list at
[email protected]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of PyCUDA digest..."
Today's Topics:
1. Kernel Template (Sqoox85)
2. kernel template (Sqoox85)
3. Re: kernel template (Andreas Kloeckner)
----------------------------------------------------------------------
Message: 1
Date: Sun, 19 Feb 2012 23:02:08 +0100
From: Sqoox85 <[email protected]>
To: [email protected]
Subject: [PyCUDA] Kernel Template
Message-ID:
<CAMHfeuNeWgzp6mP8ODtrjU8j18neUea=aekrtpgc5pi417k...@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
Hi all,
I'm trying to apply template in a kernel function but I can't.
I follow the example in the wiki but it's only for __device__ fuctions
http://wiki.tiker.net/PyCuda/Examples/C%2B%2BFunctionTemplates
I couldn't figure out because extern "C" is useful to avoid name mangling
of the name kernel function.
Is there a way to solve it?
Thanks,
Filippo
------------------------------
Message: 2
Date: Sun, 19 Feb 2012 23:18:59 +0100
From: Sqoox85 <[email protected]>
To: [email protected]
Subject: [PyCUDA] kernel template
Message-ID:
<camhfeuozdxp2qwy_0o5vxuokrwahu2z1d7m6zkq9oq38wdt...@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
Hi all,
I'm trying to apply template in a kernel function but I can't.
I follow the example in the wiki but it's only for __device__ fuctions
http://wiki.tiker.net/PyCuda/Examples/C%2B%2BFunctionTemplates
I couldn't figure out because extern "C" is useful to avoid name mangling
of the name kernel function.
Is there a way to solve it?
Thanks,
Filippo
------------------------------
Message: 3
Date: Mon, 20 Feb 2012 10:54:51 +0100
From: Andreas Kloeckner <[email protected]>
To: Sqoox85 <[email protected]>, [email protected]
Subject: Re: [PyCUDA] kernel template
Message-ID: <[email protected]>
Content-Type: text/plain; charset="us-ascii"
Hi Filippo,
On Sun, 19 Feb 2012 23:18:59 +0100, Sqoox85 <[email protected]> wrote:
> I'm trying to apply template in a kernel function but I can't.
> I follow the example in the wiki but it's only for __device__ fuctions
>
> http://wiki.tiker.net/PyCuda/Examples/C%2B%2BFunctionTemplates
>
> I couldn't figure out because extern "C" is useful to avoid name mangling
> of the name kernel function.
>
> Is there a way to solve it?
No. Even if you manage to avoid mangling, you still have to tell the
compiler what types to instantiate for, *at compile time*.
Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL:
<http://lists.tiker.net/pipermail/pycuda/attachments/20120220/5333e201/attachment-0001.pgp>
------------------------------
_______________________________________________
PyCUDA mailing list
[email protected]
http://lists.tiker.net/listinfo/pycuda
End of PyCUDA Digest, Vol 44, Issue 12
**************************************
_______________________________________________
PyCUDA mailing list
[email protected]
http://lists.tiker.net/listinfo/pycuda