Ticket #284 (closed defect: fixed)

Opened 14 years ago

Last modified 13 years ago

clSetKernelArg: No function for seting arg of arbitrary non-pointer type

Reported by: hydroponics@… Owned by: jaymccarthy
Priority: major Milestone:
Component: jaymccarthy/opencl.plt Keywords:
Cc: Version: (3 2)
Racket Version: 4.2.5

Description

If I understand the OpenCL reference on clSetKernelArg correctly, it is possible to pass values of arbitrary non-pointer types (e.g. float or SomeStruct?) to the kernel. This FFI provides no obvious mechanism for doing so.

Change History

Changed 13 years ago by jaymccarthy

  • status changed from new to closed
  • resolution set to fixed

I've added the rest of the options in my dev version, and I will release a new package shortly. If you want you can use it directly:

 https://github.com/jeapostrophe/opencl

Jay

Note: See TracTickets for help on using tickets.