]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/libs/compute/example/monte_carlo.cpp
update sources to v12.2.3
[ceph.git] / ceph / src / boost / libs / compute / example / monte_carlo.cpp
index ac55248d4433a05c49a66fa6e5a8c44ddcd81d93..8ae26209d62f95076aa357d266b3f79a8f3e5321 100644 (file)
@@ -32,8 +32,13 @@ int main()
     using compute::uint_;
     using compute::uint2_;
 
+
+#ifdef CI_BUILD // lower number of points for CI builds
+    size_t n = 2000;
+#else
     // ten million random points
     size_t n = 10000000;
+#endif
 
     // generate random numbers
     compute::default_random_engine rng(queue);