Loading...
Searching...
No Matches
dirichlet_cl.h File Reference

Detailed Description

Author
hacatu
Version
0.2.0

LICENSE

This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.

DESCRIPTION

OpenCL implementations of functions in dirichlet.h and dirichlet_powerful.h Generally, these functions require an OpenCL manager (nut_ClMgr) and if mgr->flags does not have die or verbose set, these functions will usually return 0 on error so if 0 is returned and neither die nor verbose is set, check mgr->err before relying on the result (eg by calling nut_cl_check_err).

Definition in file dirichlet_cl.h.

Go to the source code of this file.

Functions

uint64_t nut_cl_dirichlet_D (nut_ClMgr *mgr, uint64_t n, uint64_t m)