Translated source code of benchmark_cl3d.