>-----Original Message-----
>From: Andreas Kloeckner [mailto:[email protected]]
>Sent: 05 April 2011 06:59
>To: Bergtholdt, Martin; [email protected]
>Subject: Re: [PyCUDA] Windows-7 VS 2008 x64 builds
>
>On Mon, 4 Apr 2011 19:10:33 +0200, "Bergtholdt, Martin" 
><[email protected]> wrote:
>> Hi Andreas,
>>
>> I managed to build PyCuda under Windows-7 Visual Studio 9.0 2008
>> 64-bit.
>
>I've looked over your patch, most of what you did seems reasonable to
>me. I did however factor out your hash function type patches into one
>conditional typedef that simply fixes a hash type before hand, to
>avoid duplicating code.  After a few really minor syntax fixes (gcc
>doesn't seem to like multi-word constructor-style casts),
>e.g. 'unsigned int(5)', everything compiles and works on Linux as
>well.
>
>> I still get a warning at link time, but this seems unimportant:
>>
>> wrap_cudadrv.obj : warning LNK4197: export 'init_driver' specified multiple 
>> times; using first specification
>>    Creating library
>
> They only occur once in the source, so I'm guessing this the result
>of something Python does to find module init functions. I agree that
>these are likely harmless.

I think that it's due to the extra /EXPORT: statement in the linker call,
where the export is already done using the PyMODINIT_FUNC. Harmless.

> I've merged your patch. Thanks for your contribution! Can you please
>confirm that current git works for you out of the box?
>
>Andreas

Confirmed. No warnings besides the above mentioned linker warnings. All
the tests run.

Martin

The information contained in this message may be confidential and legally 
protected under applicable law. The message is intended solely for the 
addressee(s). If you are not the intended recipient, you are hereby notified 
that any use, forwarding, dissemination, or reproduction of this message is 
strictly prohibited and may be unlawful. If you are not the intended recipient, 
please contact the sender by return e-mail and destroy all copies of the 
original message.


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

Reply via email to