Relative Content

Tag Archive for c++cuda

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

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