Error at cudaMallocManaged:“an illegal memory access was encountered”

前端 未结 0 1982
终归单人心
终归单人心 2021-01-25 15:54

I have developing a project using CUDA and openmp.

void function()
{
    float *data_h = (float *)malloc(data_size);
    omp_set_num_threads(n); 
    #pragma omp          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题