Ticket #254 (closed defect: invalid)

Opened 8 years ago

Last modified 8 years ago

#f is passed to clGetPlatformInfo in test.ss

Reported by: hydroponics@… Owned by: jaymccarthy
Priority: minor Milestone:
Component: jaymccarthy/opencl.plt Keywords:
Cc: Version: (3 1)
Racket Version: 4.2.4


Running test.ss on Windows:

Platform is #f

Platform Info

. . clGetPlatformInfo: platform is an invalid platform

Change History

Changed 8 years ago by plai

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

From page 29 of the spec on the clGetPlatformInfo function:

"platform refers to the platform ID returned by clGetPlatformIDs or can be NULL. If platform is NULL, the behavior is implementation-defined."

On OS X it returns a default, but on your implementation it is an error.

Note: See TracTickets for help on using tickets.