We are trying to run OpenCL on a x86_64 machine with Linux RHEL 4, which has a Quadro FX 5600. We had 32-bit c/c++ library in the machine and followed the standard procedure of installing OpenCL on 32bit linux. By adding the -m32 option in the Makefiles, we were able to compile the SDK samples. We also updated the driver for x86_64 from:
However, when we then try to run the compiled SDK sample, context creation fails:
!!! Error # -1 at file Source/oclBitonicSort.cpp, line 113
line 113 is the error checking statement just below context creation.
We understand that currently OpenCL is supposed to work on 32bit linux. So what we have done is doomed to fail? Or is there some work-around? Any thought will be appreciated. Thanks!