OpenCL Changes for Swift
OpenCL
Modified clBuildProgram(_: cl_program!, _: cl_uint, _: UnsafePointer<cl_device_id?>!, _: UnsafePointer<Int8>!, _: ((cl_program?, UnsafeMutableRawPointer?) -> Swift.Void)!, _: UnsafeMutableRawPointer!) -> cl_int
Declaration | |
---|---|
From | func clBuildProgram(_ _: cl_program!, _ _: cl_uint, _ _: UnsafePointer<cl_device_id?>!, _ _: UnsafePointer<Int8>!, _ _: (@escaping (cl_program?, UnsafeMutableRawPointer?) -> Swift.Void)!, _ _: UnsafeMutableRawPointer!) -> cl_int |
To | func clBuildProgram(_ _: cl_program!, _ _: cl_uint, _ _: UnsafePointer<cl_device_id?>!, _ _: UnsafePointer<Int8>!, _ _: ((cl_program?, UnsafeMutableRawPointer?) -> Swift.Void)!, _ _: UnsafeMutableRawPointer!) -> cl_int |
Modified clCompileProgram(_: cl_program!, _: cl_uint, _: UnsafePointer<cl_device_id?>!, _: UnsafePointer<Int8>!, _: cl_uint, _: UnsafePointer<cl_program?>!, _: UnsafeMutablePointer<UnsafePointer<Int8>?>!, _: ((cl_program?, UnsafeMutableRawPointer?) -> Swift.Void)!, _: UnsafeMutableRawPointer!) -> cl_int
Declaration | |
---|---|
From | func clCompileProgram(_ _: cl_program!, _ _: cl_uint, _ _: UnsafePointer<cl_device_id?>!, _ _: UnsafePointer<Int8>!, _ _: cl_uint, _ _: UnsafePointer<cl_program?>!, _ _: UnsafeMutablePointer<UnsafePointer<Int8>?>!, _ _: (@escaping (cl_program?, UnsafeMutableRawPointer?) -> Swift.Void)!, _ _: UnsafeMutableRawPointer!) -> cl_int |
To | func clCompileProgram(_ _: cl_program!, _ _: cl_uint, _ _: UnsafePointer<cl_device_id?>!, _ _: UnsafePointer<Int8>!, _ _: cl_uint, _ _: UnsafePointer<cl_program?>!, _ _: UnsafeMutablePointer<UnsafePointer<Int8>?>!, _ _: ((cl_program?, UnsafeMutableRawPointer?) -> Swift.Void)!, _ _: UnsafeMutableRawPointer!) -> cl_int |
Modified clCreateContext(_: UnsafePointer<cl_context_properties>!, _: cl_uint, _: UnsafePointer<cl_device_id?>!, _: ((UnsafePointer<Int8>?, UnsafeRawPointer?, Int, UnsafeMutableRawPointer?) -> Swift.Void)!, _: UnsafeMutableRawPointer!, _: UnsafeMutablePointer<cl_int>!) -> cl_context!
Declaration | |
---|---|
From | func clCreateContext(_ _: UnsafePointer<cl_context_properties>!, _ _: cl_uint, _ _: UnsafePointer<cl_device_id?>!, _ _: (@escaping (UnsafePointer<Int8>?, UnsafeRawPointer?, Int, UnsafeMutableRawPointer?) -> Swift.Void)!, _ _: UnsafeMutableRawPointer!, _ _: UnsafeMutablePointer<cl_int>!) -> cl_context! |
To | func clCreateContext(_ _: UnsafePointer<cl_context_properties>!, _ _: cl_uint, _ _: UnsafePointer<cl_device_id?>!, _ _: ((UnsafePointer<Int8>?, UnsafeRawPointer?, Int, UnsafeMutableRawPointer?) -> Swift.Void)!, _ _: UnsafeMutableRawPointer!, _ _: UnsafeMutablePointer<cl_int>!) -> cl_context! |
Modified clCreateContextAndCommandQueueAPPLE(_: UnsafePointer<cl_context_properties>!, _: cl_uint, _: UnsafePointer<cl_device_id?>!, _: ((UnsafePointer<Int8>?, UnsafeRawPointer?, Int, UnsafeMutableRawPointer?) -> Swift.Void)!, _: UnsafeMutableRawPointer!, _: cl_command_queue_properties, _: UnsafeMutablePointer<cl_context?>!, _: UnsafeMutablePointer<cl_command_queue?>!) -> cl_int
Declaration | |
---|---|
From | func clCreateContextAndCommandQueueAPPLE(_ _: UnsafePointer<cl_context_properties>!, _ _: cl_uint, _ _: UnsafePointer<cl_device_id?>!, _ _: (@escaping (UnsafePointer<Int8>?, UnsafeRawPointer?, Int, UnsafeMutableRawPointer?) -> Swift.Void)!, _ _: UnsafeMutableRawPointer!, _ _: cl_command_queue_properties, _ _: UnsafeMutablePointer<cl_context?>!, _ _: UnsafeMutablePointer<cl_command_queue?>!) -> cl_int |
To | func clCreateContextAndCommandQueueAPPLE(_ _: UnsafePointer<cl_context_properties>!, _ _: cl_uint, _ _: UnsafePointer<cl_device_id?>!, _ _: ((UnsafePointer<Int8>?, UnsafeRawPointer?, Int, UnsafeMutableRawPointer?) -> Swift.Void)!, _ _: UnsafeMutableRawPointer!, _ _: cl_command_queue_properties, _ _: UnsafeMutablePointer<cl_context?>!, _ _: UnsafeMutablePointer<cl_command_queue?>!) -> cl_int |
Modified clCreateContextFromType(_: UnsafePointer<cl_context_properties>!, _: cl_device_type, _: ((UnsafePointer<Int8>?, UnsafeRawPointer?, Int, UnsafeMutableRawPointer?) -> Swift.Void)!, _: UnsafeMutableRawPointer!, _: UnsafeMutablePointer<cl_int>!) -> cl_context!
Declaration | |
---|---|
From | func clCreateContextFromType(_ _: UnsafePointer<cl_context_properties>!, _ _: cl_device_type, _ _: (@escaping (UnsafePointer<Int8>?, UnsafeRawPointer?, Int, UnsafeMutableRawPointer?) -> Swift.Void)!, _ _: UnsafeMutableRawPointer!, _ _: UnsafeMutablePointer<cl_int>!) -> cl_context! |
To | func clCreateContextFromType(_ _: UnsafePointer<cl_context_properties>!, _ _: cl_device_type, _ _: ((UnsafePointer<Int8>?, UnsafeRawPointer?, Int, UnsafeMutableRawPointer?) -> Swift.Void)!, _ _: UnsafeMutableRawPointer!, _ _: UnsafeMutablePointer<cl_int>!) -> cl_context! |
Modified clEnqueueNativeKernel(_: cl_command_queue!, _: ((UnsafeMutableRawPointer?) -> Swift.Void)!, _: UnsafeMutableRawPointer!, _: Int, _: cl_uint, _: UnsafePointer<cl_mem?>!, _: UnsafeMutablePointer<UnsafeRawPointer?>!, _: cl_uint, _: UnsafePointer<cl_event?>!, _: UnsafeMutablePointer<cl_event?>!) -> cl_int
Declaration | |
---|---|
From | func clEnqueueNativeKernel(_ _: cl_command_queue!, _ _: (@escaping (UnsafeMutableRawPointer?) -> Swift.Void)!, _ _: UnsafeMutableRawPointer!, _ _: Int, _ _: cl_uint, _ _: UnsafePointer<cl_mem?>!, _ _: UnsafeMutablePointer<UnsafeRawPointer?>!, _ _: cl_uint, _ _: UnsafePointer<cl_event?>!, _ _: UnsafeMutablePointer<cl_event?>!) -> cl_int |
To | func clEnqueueNativeKernel(_ _: cl_command_queue!, _ _: ((UnsafeMutableRawPointer?) -> Swift.Void)!, _ _: UnsafeMutableRawPointer!, _ _: Int, _ _: cl_uint, _ _: UnsafePointer<cl_mem?>!, _ _: UnsafeMutablePointer<UnsafeRawPointer?>!, _ _: cl_uint, _ _: UnsafePointer<cl_event?>!, _ _: UnsafeMutablePointer<cl_event?>!) -> cl_int |
Modified clLinkProgram(_: cl_context!, _: cl_uint, _: UnsafePointer<cl_device_id?>!, _: UnsafePointer<Int8>!, _: cl_uint, _: UnsafePointer<cl_program?>!, _: ((cl_program?, UnsafeMutableRawPointer?) -> Swift.Void)!, _: UnsafeMutableRawPointer!, _: UnsafeMutablePointer<cl_int>!) -> cl_program!
Declaration | |
---|---|
From | func clLinkProgram(_ _: cl_context!, _ _: cl_uint, _ _: UnsafePointer<cl_device_id?>!, _ _: UnsafePointer<Int8>!, _ _: cl_uint, _ _: UnsafePointer<cl_program?>!, _ _: (@escaping (cl_program?, UnsafeMutableRawPointer?) -> Swift.Void)!, _ _: UnsafeMutableRawPointer!, _ _: UnsafeMutablePointer<cl_int>!) -> cl_program! |
To | func clLinkProgram(_ _: cl_context!, _ _: cl_uint, _ _: UnsafePointer<cl_device_id?>!, _ _: UnsafePointer<Int8>!, _ _: cl_uint, _ _: UnsafePointer<cl_program?>!, _ _: ((cl_program?, UnsafeMutableRawPointer?) -> Swift.Void)!, _ _: UnsafeMutableRawPointer!, _ _: UnsafeMutablePointer<cl_int>!) -> cl_program! |
Modified clSetEventCallback(_: cl_event!, _: cl_int, _: ((cl_event?, cl_int, UnsafeMutableRawPointer?) -> Swift.Void)!, _: UnsafeMutableRawPointer!) -> cl_int
Declaration | |
---|---|
From | func clSetEventCallback(_ _: cl_event!, _ _: cl_int, _ _: (@escaping (cl_event?, cl_int, UnsafeMutableRawPointer?) -> Swift.Void)!, _ _: UnsafeMutableRawPointer!) -> cl_int |
To | func clSetEventCallback(_ _: cl_event!, _ _: cl_int, _ _: ((cl_event?, cl_int, UnsafeMutableRawPointer?) -> Swift.Void)!, _ _: UnsafeMutableRawPointer!) -> cl_int |
Modified clSetMemObjectDestructorCallback(_: cl_mem!, _: ((cl_mem?, UnsafeMutableRawPointer?) -> Swift.Void)!, _: UnsafeMutableRawPointer!) -> cl_int
Declaration | |
---|---|
From | func clSetMemObjectDestructorCallback(_ _: cl_mem!, _ _: (@escaping (cl_mem?, UnsafeMutableRawPointer?) -> Swift.Void)!, _ _: UnsafeMutableRawPointer!) -> cl_int |
To | func clSetMemObjectDestructorCallback(_ _: cl_mem!, _ _: ((cl_mem?, UnsafeMutableRawPointer?) -> Swift.Void)!, _ _: UnsafeMutableRawPointer!) -> cl_int |