Yes, my branch of codepy does work on Windows with msvc and nvcc - at
least in a proof of concept way. There's still a lot of work to be
done to bring it up-to-date.

http://github.com/BryanCatanzaro/catanzaro.codepy

- bryan

On Wed, May 23, 2012 at 4:58 PM, Andreas Kloeckner
<[email protected]> wrote:
> Hi Igor,
>
> On Thu, 24 May 2012 10:51:55 +1200, Igor <[email protected]> wrote:
>> Andreas, thanks, but it currently implies Linux, I'll see if I can
>> make it work on Windows. Or maybe I'll submit and someone will try it
>> on Windows. I just need to extract it from Sage into a plain Python
>> script. Give me a couple of days.
>> http://dev.math.canterbury.ac.nz/home/pub/14/
>> http://dev.math.canterbury.ac.nz/home/pub/19/
>
> I would actually suggest you use the codepy machinery to let nvcc do the
> compilation--this has the advantage that a) there is code out there that
> makes this work on Windows (Bryan?) and b) you get compiler caching for
> free.
>
> All you'd need to do is build an analog of extension_from_string, say
> ctypes_dll_from_string. Just imitate this code here, where
> compile_from_string does all the hard work:
>
> https://github.com/inducer/codepy/blob/master/codepy/jit.py#L146
>
> In any case, even if you can make something that's Linux-only, it would
> likely help a big bunch of people. Windows support can always be added
> later.
>
> Andreas
>
> _______________________________________________
> PyCUDA mailing list
> [email protected]
> http://lists.tiker.net/listinfo/pycuda
>

_______________________________________________
PyCUDA mailing list
[email protected]
http://lists.tiker.net/listinfo/pycuda

Reply via email to