123456789101112131415161718192021222324252627 |
- /*
- * This file is part of ygg-brute
- * Copyright (c) 2020 ygg-brute authors
- * See LICENSE for licensing information
- */
- #include "generator_test.hpp"
- #include "opencl/engine.hpp"
- int main()
- {
- GeneratorParams params;
- params.seed = 1111;
- params.seq = 2222;
- params.n_blocks = 256;
- params.inv_batch_size = 256;
- opencl::get_engine().fill_params(params);
- auto gen = opencl::get_engine().make_generator(params);
- auto ctx = opencl::get_engine().make_generator_context();
- for(auto i = 0; i < 3; ++i) {
- run_generator_test(*gen, *ctx);
- }
- return 0;
- }
|