sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page
Backends.Sync_backendSourceA minimalisitc wrapper creating backends where all calls run synchronously on the main thread. There is only one physical device, but as always an arbitrary number of virtual devices.
module Backend : No_device_backendtype device = {subordinal : Base.int;merge_buffer : (buffer_ptr * Tnode.t) Base.option Base.ref;mutable allocated_buffer : (buffer_ptr * Base.int) Base.option;}val alloc_buffer :
?old_buffer:(Backend.buffer_ptr * Base.int) ->
size_in_bytes:Base.int ->
'a ->
Backend.buffer_ptrtype context = {device : device;ctx : Backend.context;expected_merge_node : Tnode.t Base.option;}val compile :
?shared:Base.bool ->
?name:Base.string ->
Indexing.unit_bindings ->
Assignments.t ->
Backend.codeval compile_batch :
?shared:Base.bool ->
?names:Base.string Base.array ->
?occupancy:(name:Base.string -> src_n:Base.int -> Base.bool) ->
Indexing.unit_bindings ->
Assignments.t Base.array ->
Backend.code_batchval link :
?from_prior_context:Tnode.t Base.list ->
context ->
Backend.code ->
context Backend_utils.Types.routineval link_batch :
?from_prior_context:Tnode.t Base.list ->
context ->
Backend.code_batch ->
context * context Backend_utils.Types.routine Base.Option.t Base.Array.tval device_to_device :
Tnode.t ->
into_merge_buffer:Backend_utils.Types.merge_buffer_use ->
dst:context ->
src:context ->
bool