PSCF v1.5.0
CUT.cu
1/*
2* PSCF - Polymer Self-Consistent Field
3*
4* Copyright 2015 - 2026, David Morse (morse012@um.edu) and co-authors
5* Distributed under the terms of the GNU General Public License.
6*/
7
8
9#include "CUT.h"
10#include "VecRandom.h"
11#include <pscf/backend/cuda/ThreadArray.h>
12#include <pscf/backend/cuda/ThreadMesh.h>
13#include <util/random/Random.h>
14
15namespace Pscf {
16
17 /*
18 * Initialize backend.
19 */
20 void CUT::init()
22
23 /*
24 * Set thread count in backend.
25 */
26 void CUT::setThreadCount(int nThread)
27 {
30 }
31
32}
static void init()
Initialize backend thread array.
Definition CUT.cu:20
static void setThreadCount(int nThread)
Set the number of threads per block.
Definition CUT.cu:26
void init()
Initialize static variables in Pscf::ThreadArray namespace.
void setThreadsPerBlock()
Set the number of threads per block to a default value.
void setThreadsPerBlock(int blockSize)
Manually set the block size that should be used by default.
PSCF package top-level namespace.