math byte-arrays alien ;
IN: opencl
-HELP: cl-addressing-mode
+HELP: sampler>cl-addressing-mode
{ $values
{ "sampler" cl-sampler }
{ "addressing-mode" cl-addressing-mode }
}
{ $description "Returns the type of operation that created the event." } ;
-HELP: cl-filter-mode
+HELP: sampler>cl-filter-mode
{ $values
{ "sampler" cl-sampler }
{ "filter-mode" cl-filter-mode }
: cl-normalized-coords? ( sampler -- ? )
handle>> CL_SAMPLER_NORMALIZED_COORDS sampler-info-bool ; inline
-: cl-addressing-mode ( sampler -- addressing-mode )
+: sampler>cl-addressing-mode ( sampler -- addressing-mode )
handle>> CL_SAMPLER_ADDRESSING_MODE sampler-info-uint cl_addressing_mode>addressing-mode ; inline
-: cl-filter-mode ( sampler -- filter-mode )
+: sampler>cl-filter-mode ( sampler -- filter-mode )
handle>> CL_SAMPLER_FILTER_MODE sampler-info-uint cl_filter_mode>filter-mode ; inline
: <cl-program> ( options strings -- program )