Beispiel #1
0
int main(int argc, char** argv) {

	cba_print_code();

	// for now this is simply testing the primitives
	cba_dump_thread_regions();
	cba_dump_execution_net();
	cba_dump_state_graph();

	cba_dump_equations();

	#pragma omp parallel
	{
		#pragma omp single
		{
			int x = 1;
		}
	}

	// also test some cilk stuff ..
	spawn doSomething();
	spawn doSomething();
	sync;
	
	return 0;
}
Beispiel #2
0
int main(int argc, char** argv) {

	cba_print_code();

	// for now this is simply testing the primitives
	cba_dump_thread_regions();
	cba_dump_execution_net();
	cba_dump_state_graph();

	f(10);

	return 0;
}