Metal.CompileOptionsOptions for compiling Metal Shading Language (MSL) source code. See MTLCompileOptions.
val sexp_of_t : t -> Sexplib0.Sexp.tval init : unit -> tCreates a new, default set of compile options.
module LanguageVersion : sig ... endSpecifies the version of the Metal Shading Language to use. See MTLLanguageVersion.
module LibraryType : sig ... endSpecifies the type of library to produce. See MTLLibraryType.
module OptimizationLevel : sig ... endSpecifies the optimization level for the compiler. See MTLLibraryOptimizationLevel.
module MathMode : sig ... endSpecifies the math mode for floating-point optimizations. See MTLMathMode.
module MathFloatingPointFunctions : sig ... endSpecifies which math functions to use for single precision floating-point. See MTLMathFloatingPointFunctions.
val set_fast_math_enabled : t -> bool -> unitval get_fast_math_enabled : t -> boolval set_math_mode : t -> MathMode.t -> unitSets the floating-point arithmetic optimizations mode.
val get_math_mode : t -> MathMode.tval set_math_floating_point_functions : 
  t ->
  MathFloatingPointFunctions.t ->
  unitSets the default math functions for single precision floating-point.
val get_math_floating_point_functions : t -> MathFloatingPointFunctions.tval set_enable_logging : t -> bool -> unitval get_enable_logging : t -> boolval set_max_total_threads_per_threadgroup : t -> int -> unitval get_max_total_threads_per_threadgroup : t -> intval set_language_version : t -> LanguageVersion.t -> unitval get_language_version : t -> LanguageVersion.tval set_library_type : t -> LibraryType.t -> unitval get_library_type : t -> LibraryType.tval set_install_name : t -> string -> unitSets the install name for dynamic libraries.
val get_install_name : t -> stringval set_optimization_level : t -> OptimizationLevel.t -> unitval get_optimization_level : t -> OptimizationLevel.t