shared memory value instable
This is my first time using shared memory.
CUDA copy class object containg pointer to another class
I am trying to copy a class object containing pointers to another. In particular, I have a class LikelihoodConstructor which contains an array of pointers to another class, DataModel which contains an array ‘bins’ which im trying to access. essentially in the kernel I would like to run is the following :
Summation of a polynomial in CUDA
I would like to perform a summation operation on a polynomial inside a cuda kernel which contains coefficients and function as given
What are the risks of increasing cudaLimitDevRuntimePendingLaunchCount?
I encountered an error while using dynamic parallelism:
Inline struct initialization, “nonstatic member must be relative to a static object”
I have a small issue with referencing the outer struct members from a nested struct. When I try to set x
and y
to width
and height
it shows the error “a nonstatic member must be relative to a static object”, here is the code:
Build issue with MatX concerning initialisation of shared variables
I’m attempting to build and install MatX onto my Linux machine.
CUDA equivalent of a C++ code that update parents array if there is a match
I am trying to writ the CUDA C++ equivalent code for the following C++ code. I have tried several ways but I can’t find a way to implement this code in parallel.
CUDA C++ Simulation: MD Particle Positions Becoming NaN During MD/MPCD Simulation
I’m working on a CUDA C++ simulation code that performs Molecular Dynamics (MD) and Multi-Particle Collision Dynamics (MPCD) for a system consisting of a fluid (MPCD particles) and a polymer (MD particles).
CUDA Initialising constants from a Array?
Hi there I have a CUDA program that has a global that has an array as input which contains my constants for running several kernels. If I set them inside the global without the array it runs at 6400ms if I set them from the array it slows right down to about 420000ms. Any ideas? E.g
Simple CUDA program flagged by Windows as Trojan
I’m new to CUDA and just doing some exercises to get myself started. The following program is adapted from a homework problem for matrix multiplication found here. I’m working on a Windows 10/x64 machine using