m0mchil/poclbm — Issue #46: Segfault with PyOpenCL 2011.2
Author: praus
Created: 2012-02-08 19:07:51+00:00
State: open

Hello, I'm trying to use poclbm (most recent one from master) for GPU mining on Mac OS X 10.6.8 with HD 5750. I've everything setup correctly, pyopencl is installed using pip and CPU mining works. However when I choose GPU as a mining device I get a segfault. The segfault is caused by a build issue with the kernel file for SHA computation.

I traced the problem to the following line in `BitcoinMiner.py`:
`self.miner = cl.Program(self.context, kernel).build(self.defines)`

I also checked with the most recent development version of PyOpenCL from their Git repository and the issue persists. Is there something I can do? I thought about trying to swap the phatk kernel for something different but I haven't explored further yet.

Thanks