   return infoString
 }
 
+/**
+ Obtain the list of platforms available.
+ 
+ - throws: CLError
+ 
+ - returns: List of platforms
+ 
+ - seealso: https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clGetPlatformIDs.html
+ */
 
 public func listPlatforms() throws -> [Platform] {
   return try listPlatformIDs().map {ID in

        extensions: try getPlatformInfo(ID, param: CL_PLATFORM_EXTENSIONS)
        )
    }
  
}

  return platformIDs
}

/**
 Get specific information about the OpenCL platform.
 
 - parameter platformID: Platform identifier
 - parameter param:      An enumeration constant that identifies the platform information being queried. For possible values check the khronos link.
 
 - throws: CLError
 
 - returns: Value for requested param
 
 - seealso: https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clGetPlatformInfo.html
 */
public func getPlatformInfo(platformID: cl_platform_id, param: Int32) throws -> String {
  
  var length: Int = 0
