[racket] OpenCL arity mismatch

From: Jay McCarthy (jay.mccarthy at gmail.com)
Date: Wed Mar 18 12:50:53 EDT 2015

I just pushed a fix that fixes most of the problems on my machine. I
needed to update the header files to get some new #defines and then
fix a driver workaround that isn't needed (or was always wrong?)

Jay

On Sun, Feb 8, 2015 at 8:26 AM, Jay McCarthy <jay.mccarthy at gmail.com> wrote:
> I have not run it recently, but could take a look shortly and get back to
> you. I don't have an active use for OpenCL, so I'm not constantly trying it
> out.
>
> Jay
>
> On Fri, Feb 6, 2015 at 2:04 PM, John Clements <johnbclements at gmail.com>
> wrote:
>>
>> Interesting. On my machine (OS X with i-have-no-idea-what-drivers), I get
>> 25/61 test failures.
>>
>> ... Okay, I'm thinking about this harder, and I'm realizing that I was
>> misremembering the meaning of the "succeeds" token on the RHS of the package
>> page; it merely means that installation succeeds, not that test cases pass.
>> There is (was?) an experimental page that ran tests on all existing
>> packages, but I seem to have misplaced that URL.
>>
>> Yes, it looks like I'm seeing arity errors as well.
>>
>> Jay, do you have any insight into this?
>>
>> John
>>
>>
>> On Fri, Feb 6, 2015 at 4:10 AM, Marmaduke Woodman <mmwoodman at gmail.com>
>> wrote:
>>>
>>> On my Windows machine (w/ OpenCL drivers installed for both Xeon CPU and
>>> Nvidia GPU) I see 15/61 test failures, with the error I cited. I suppose I
>>> can look at the 46 tests which passed.
>>>
>>> On Thu, Feb 5, 2015 at 11:01 PM, John Clements <johnbclements at gmail.com>
>>> wrote:
>>>>
>>>> I just took a look at pkgs.racket-lang.org, and it looks like the tests
>>>> there are passing. (Yay continuous integration!) This suggests that the the
>>>> automatically-run test suite succeeds on the latest version of racket.
>>>>
>>>> To see whether the tests succeed on your machine, you might be able to
>>>> run
>>>>
>>>> raco test --drdr -p opencl
>>>>
>>>>
>>>> ... assuming you're on a machine with a terminal like OS X or Linux.
>>>>
>>>> Does this help at all?
>>>>
>>>> Best,
>>>>
>>>> John Clements
>>>>
>>>>
>>>> On Thu, Feb 5, 2015 at 3:40 AM, Marmaduke Woodman <mmwoodman at gmail.com>
>>>> wrote:
>>>>>
>>>>> Hello
>>>>>
>>>>> I would like to use the OpenCL bindings, but there is an arity mismatch
>>>>> in all the examples I can find in the use of clCreateContext.
>>>>>
>>>>> Is there a version which works? Is it simply the case that the tests
>>>>> need to be updated?
>>>>>
>>>>> Thanks,
>>>>> Marmaduke
>>>>>
>>>>> ps: I tried both the "Do What I Mean" with "opencl" package name, as
>>>>> well as installing from github.com/jeapostrophe/opencl
>>>>>
>>>>> ____________________
>>>>>   Racket Users list:
>>>>>   http://lists.racket-lang.org/users
>>>>>
>>>>
>>>
>>
>
>
>
> --
> Jay McCarthy
> http://jeapostrophe.github.io
>
>            "Wherefore, be not weary in well-doing,
>       for ye are laying the foundation of a great work.
> And out of small things proceedeth that which is great."
>                           - D&C 64:33



-- 
Jay McCarthy
http://jeapostrophe.github.io

           "Wherefore, be not weary in well-doing,
      for ye are laying the foundation of a great work.
And out of small things proceedeth that which is great."
                          - D&C 64:33

Posted on the users mailing list.