Open Qmin  0.8.0
GPU-accelerated Q-tensor-based liquid crystal simulations
Macros | Functions
noiseSource.cu File Reference
#include <cuda_runtime.h>
#include "curand_kernel.h"
#include "noiseSource.cuh"
#include "std_include.h"
Include dependency graph for noiseSource.cu:

Macros

#define ENABLE_CUDA
 

Functions

__global__ void initialize_RNG_array_kernel (curandState *state, int N, int Timestep, int GlobalSeed)
 
bool gpu_initialize_RNG_array (curandState *states, int N, int Timestep, int GlobalSeed)
 Call the kernel to initialize a different RNG for each particle. More...
 

Detailed Description

Defines kernel callers and kernels for GPU random number generation

Macro Definition Documentation

◆ ENABLE_CUDA

#define ENABLE_CUDA