libmcl-sys 0.1.2

This system crate provides Rust language bindings to the Minos Compute Library (MCL)
Documentation
1
2
3
4
5
6
7
8
9
10
11
__kernel void FACT (__global ulong *n, __global unsigned long* f)
{
	unsigned long c = 1, r = 1;

	for(c=1; c <= *n; c++)
	{
		 r *= c;
	}

	*f = r;
}