I do not know why this happens.
compile : nvcc -o scatter.cu -w
output : ptxas error : Entry function ‘_Z15explore_subsetsP3curS0_PbPiS2_PfP17curandStateXORWOW’ uses too much local data (0x6db8 bytes, 0x4000 max)
code :
#define PROBLEM_SIZE 1000;
typedef struct cur{
float vector[PROBLEM_SIZE];
float cost;
float dist;
bool ref_new;
}ref_set_str;
i use the memcpy.
memcpy(best, &candidate, sizeof(ref_set_str));
If you set the size of the problem_size on the 600 error.
ptxas error : Entry function ‘_Z15explore_subsetsP3curS0_PbPiS2_PfP17curandStateXORWOW’ uses too much local data (0x6db8 bytes, 0x4000 max)
I do not know why that error.
please help me.