Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(5)  |  Call(3)  |  Derive(0)  |  Import(2)

src/p/a/parakeet-HEAD/parakeet/cuda_backend/cuda_compiler.py   parakeet(Download)
from ..openmp_backend import MulticoreCompiler
from ..syntax import PrintString, SourceExpr
from ..syntax.helpers import get_types, get_fn, get_closure_args, const_int, zero_i32, one_i32
 
import config 
  def build_kernel(self, clos, bounds, write_only = None):
    n_indices = len(bounds)
    fn = get_fn(clos)
    outer_closure_exprs = get_closure_args(clos)
    closure_arg_types = get_types(outer_closure_exprs)
  def use_closure(self, clos):
    fn = get_fn(clos)
    closure_exprs = get_closure_args(clos)
    closure_arg_types = get_types(closure_exprs)
    host_closure_args = self.visit_expr_list(closure_exprs)

src/p/a/parakeet-0.23.2/parakeet/cuda_backend/cuda_compiler.py   parakeet(Download)
from ..openmp_backend import MulticoreCompiler
from ..syntax import PrintString, SourceExpr
from ..syntax.helpers import get_types, get_fn, get_closure_args, const_int, zero_i32, one_i32
 
import config 
  def build_kernel(self, clos, bounds):
    n_indices = len(bounds)
    fn = get_fn(clos)
    outer_closure_exprs = get_closure_args(clos)
    closure_arg_types = get_types(outer_closure_exprs)