[PyCuda] newbie building on OSX 10.5

Nicholas Piël nicholas at nichol.as
Tue Dec 9 13:51:33 PST 2008


On Dec 9, 2008, at 10:36 PM, Nicholas Piël wrote:

>
> On Dec 9, 2008, at 10:27 PM, Randy Heiland wrote:
>
>> Replying to my own post, I now realize that when I downloaded what  
>> I thought was the driver from:
>> http://www.nvidia.com/object/cuda_get.html
>>
>> in fact, the 'driver' button for 'Mac OS' was totally missing (I  
>> mistakenly that the 'toolkit' included the driver.
>>
>> So, when I try to run one of the example pgms from the SDK, I get,  
>> e.g.
>>
>> /Developer/CUDA/bin/darwin/release$ ./Mandelbrot
>> Using device 0: Device Emulation (CPU)
>> Compute capability 9999.9999
>> Data init done.
>> Initializing GLUT...
>> Loading extensions: No error
>> OpenGL window created.
>> Starting GLUT main loop...
>>
>> Press [?] to print location and scale
>> Press [q] to exit
>> ...
>>
>> and I get a black window.
>>
>> Any comments?  Anyone know the status of CUDA drivers for OSX?
>
>
> Do the installation procedure again  (of the cuda toolkit), then  
> click on 'customize' and tick the box in front of the kernel  
> extension.
>
> I think that'll work!

Just to provide some more information, I ran into the same problem  
when i started with PyCuda, i found this thread:
http://forums.nvidia.com/lofiversion/index.php?t75387.html

It seems that in some (or all) installations of the CUDA 2.0 toolkit  
it defaults to not installing the kernel extension that specifically  
enables the cuda functionality. Simply specifying explicitly in the  
installation process to install that kernel extension made it work for  
me.

Regards,
Nicholas



More information about the PyCUDA mailing list