/// <summary> /// Enables all compatible OpenCL devices. /// </summary> /// <param name="builder">The builder instance.</param> /// <returns>The updated builder instance.</returns> public static Context.Builder OpenCL(this Context.Builder builder) => builder.OpenCL(id => id.CVersion >= CLBackend.MinimumVersion);
/// <summary> /// Enables all compatible OpenCL devices. /// </summary> /// <param name="builder">The builder instance.</param> /// <returns>The updated builder instance.</returns> public static Context.Builder OpenCL(this Context.Builder builder) => builder.OpenCL(id => id.CLStdVersion >= CLBackend.MinimumVersion && id.Capabilities.GenericAddressSpace);