File tree Expand file tree Collapse file tree 2 files changed +12
-17
lines changed Expand file tree Collapse file tree 2 files changed +12
-17
lines changed Original file line number Diff line number Diff line change 1- ## [ 0.6.0] -- current
1+ ## [ 0.6.0] -- 2025-08-19
22
33### Added
44
5353- Host-device synchronization issues with ` devices_not_lagging_host ` semantics.
5454- Shape inference corner cases with Total_elems and row constraints.
5555- Various issues with convolution and strided iteration support.
56+ - Moved away from using statically loaded builtins.c from routines (kernels), all backends now prepend their builtins textually.
57+ - Emulating _ Float16 aka. half on systems with C compilers that don't support it.
5658
5759## [ 0.5.3] -- 2025-05-24
5860
Original file line number Diff line number Diff line change @@ -141,31 +141,24 @@ end) : Ir.Backend_impl.Lowered_backend = struct
141141 in
142142 let cuda_include_opt =
143143 (* On Windows, check for the no-spaces junction created by ocaml-cudajit *)
144- let cuda_path =
144+ let cuda_path =
145145 if String. (Stdlib.Sys. os_type = " Win32" || Stdlib.Sys. os_type = " Cygwin" ) then
146- let junction_path =
146+ let junction_path =
147147 match Sys. getenv " LOCALAPPDATA" with
148148 | Some local_appdata -> local_appdata ^ " /cuda_path_link"
149- | None ->
150- match Sys. getenv " CUDA_PATH" with
151- | Some p -> p
152- | None -> " "
149+ | None -> ( match Sys. getenv " CUDA_PATH" with Some p -> p | None -> " " )
153150 in
154- if Stdlib.Sys. file_exists (junction_path ^ " /include" ) then
155- Some junction_path
156- else
157- Sys. getenv " CUDA_PATH"
158- else
159- Sys. getenv " CUDA_PATH"
151+ if Stdlib.Sys. file_exists (junction_path ^ " /include" ) then Some junction_path
152+ else Sys. getenv " CUDA_PATH"
153+ else Sys. getenv " CUDA_PATH"
160154 in
161155 match cuda_path with
162- | Some cuda_path ->
156+ | Some cuda_path ->
163157 (* Normalize path separators for Windows *)
164- let include_path =
158+ let include_path =
165159 if String. (Stdlib.Sys. os_type = " Win32" || Stdlib.Sys. os_type = " Cygwin" ) then
166160 String. map ~f: (fun c -> if Char. (c = '\\' ) then '/' else c) (cuda_path ^ " /include" )
167- else
168- cuda_path ^ " /include"
161+ else cuda_path ^ " /include"
169162 in
170163 [ " -I" ^ include_path ]
171164 | None ->
You can’t perform that action at this time.
0 commit comments