reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/polly/lib/External/ppcg/cuda.c
  614 		return print_device_node(p, node, data->prog);
  622 		return ppcg_kernel_print_domain(p, stmt);
  624 	p = ppcg_start_block(p);
  624 	p = ppcg_start_block(p);
  626 	p = isl_printer_start_line(p);
  626 	p = isl_printer_start_line(p);
  627 	p = isl_printer_print_str(p, "dim3 k");
  627 	p = isl_printer_print_str(p, "dim3 k");
  628 	p = isl_printer_print_int(p, kernel->id);
  628 	p = isl_printer_print_int(p, kernel->id);
  629 	p = isl_printer_print_str(p, "_dimBlock");
  629 	p = isl_printer_print_str(p, "_dimBlock");
  630 	p = print_reverse_list(p, kernel->n_block, kernel->block_dim);
  630 	p = print_reverse_list(p, kernel->n_block, kernel->block_dim);
  631 	p = isl_printer_print_str(p, ";");
  631 	p = isl_printer_print_str(p, ";");
  632 	p = isl_printer_end_line(p);
  632 	p = isl_printer_end_line(p);
  634 	p = print_grid(p, kernel);
  634 	p = print_grid(p, kernel);
  636 	p = isl_printer_start_line(p);
  636 	p = isl_printer_start_line(p);
  637 	p = isl_printer_print_str(p, "kernel");
  637 	p = isl_printer_print_str(p, "kernel");
  638 	p = isl_printer_print_int(p, kernel->id);
  638 	p = isl_printer_print_int(p, kernel->id);
  639 	p = isl_printer_print_str(p, " <<<k");
  639 	p = isl_printer_print_str(p, " <<<k");
  640 	p = isl_printer_print_int(p, kernel->id);
  640 	p = isl_printer_print_int(p, kernel->id);
  641 	p = isl_printer_print_str(p, "_dimGrid, k");
  641 	p = isl_printer_print_str(p, "_dimGrid, k");
  642 	p = isl_printer_print_int(p, kernel->id);
  642 	p = isl_printer_print_int(p, kernel->id);
  643 	p = isl_printer_print_str(p, "_dimBlock>>> (");
  643 	p = isl_printer_print_str(p, "_dimBlock>>> (");
  644 	p = print_kernel_arguments(p, data->prog, kernel, 0);
  644 	p = print_kernel_arguments(p, data->prog, kernel, 0);
  645 	p = isl_printer_print_str(p, ");");
  645 	p = isl_printer_print_str(p, ");");
  646 	p = isl_printer_end_line(p);
  646 	p = isl_printer_end_line(p);
  648 	p = isl_printer_start_line(p);
  648 	p = isl_printer_start_line(p);
  649 	p = isl_printer_print_str(p, "cudaCheckKernel();");
  649 	p = isl_printer_print_str(p, "cudaCheckKernel();");
  650 	p = isl_printer_end_line(p);
  650 	p = isl_printer_end_line(p);
  652 	p = ppcg_end_block(p);
  652 	p = ppcg_end_block(p);
  654 	p = isl_printer_start_line(p);
  654 	p = isl_printer_start_line(p);
  655 	p = isl_printer_end_line(p);
  655 	p = isl_printer_end_line(p);
  661 	return p;