curandStates are allocated using cudaMalloc which is not freed at the end of the program. Create a manager class to handle this.
curandStates are allocated using cudaMalloc which is not freed at the end of the program.
Create a manager class to handle this.