package sarek
GPGPU kernel DSL for OCaml
Install
Dune Dependency
Authors
Maintainers
Sources
spoc_ppx-20210823.tbz
sha256=bdb247f51bce29609c0a6d7155a2f180b26cb7388489cf21961b4d6754a0eb03
sha512=1cdb37b214e06a32436d23308c4555f6ddefcd4674d73964faa4bb184f843c477c95ef719b8794ead32d12b1ee6a5b5541683ec76ab9e6b1c2e3f3d7371ba41c
doc/sarek.internal_kernels/Internal_kernels/Mparser/index.html
Module Internal_kernels.Mparser
Source
Source
val parse_args :
Camlp4.PreCast.Syntax.Ast.patt list ->
Camlp4.PreCast.Syntax.Ast.expr ->
Camlp4.PreCast.Syntax.Ast.expr
Source
val gen_arg_from_patt3 :
Camlp4.PreCast.Syntax.Ast.patt ->
Camlp4.PreCast.Syntax.Ast.patt
* Camlp4.PreCast.Syntax.Ast.expr
* Camlp4.PreCast.Syntax.Ast.ctyp
* Camlp4.PreCast.Syntax.Ast.patt
* Camlp4.PreCast.Syntax.Ast.expr
* Camlp4.PreCast.Syntax.Ast.ctyp
Source
val gen_ctype :
Camlp4.PreCast.Syntax.Ast.ctyp ->
Camlp4.PreCast.Syntax.Ast.ident ->
string ->
'a ->
Camlp4.PreCast.Syntax.Ast.loc ->
Camlp4.PreCast.Syntax.Ast.str_item
Source
val gen_ctype_repr :
Camlp4.PreCast.Syntax.Ast.ctyp ->
Camlp4.PreCast.Syntax.Ast.ident ->
'a ->
string
Source
type ktyp_repr = {
type_id : int;
name : string;
typ : Sarek_types.ktyp;
ml_typ : Camlp4.PreCast.Syntax.Ast.str_item;
ctype : Camlp4.PreCast.Syntax.Ast.str_item;
crepr : string;
ml_to_c : Camlp4.PreCast.Syntax.Ast.expr;
c_to_ml : Camlp4.PreCast.Syntax.Ast.expr;
build_c : string list;
compare : string;
}
Source
val gen_mltyp :
Camlp4.PreCast.Syntax.Ast.loc ->
string ->
Sarek_types.ktyp ->
Camlp4.PreCast.Syntax.Ast.str_item
Source
val gen_ctypes :
Camlp4.PreCast.Syntax.Ast.loc ->
Sarek_types.customtypes ->
string ->
Camlp4.PreCast.Syntax.Ast.str_item
Source
val gen_labels :
Camlp4.PreCast.Syntax.Ast.loc ->
(Camlp4.PreCast.Syntax.Ast.ident * Camlp4.PreCast.Syntax.Ast.ctyp * bool) ->
(Camlp4.PreCast.Syntax.Ast.ctyp list
* Camlp4.PreCast.Syntax.Ast.ident list
* bool list)
option ->
Camlp4.PreCast.Syntax.Ast.ctyp list
* Camlp4.PreCast.Syntax.Ast.ident list
* bool list
Source
val gen_constructors :
'a ->
(string * Camlp4.PreCast.Syntax.Ast.ctyp option) ->
(string * Camlp4.PreCast.Syntax.Ast.ctyp option) list option ->
(string * Camlp4.PreCast.Syntax.Ast.ctyp option) list
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>