bonchi / back40computing

Automatically exported from code.google.com/p/back40computing
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

kernel launches from templates are not allowed in system files #7

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
i run it on GTX560 on Ubuntu10.10
when i try to make,it gives errors,such as
/usr/local/cuda/include/thrust/detail/device/cuda/detail/b40c/radixsort_api.h(48
1): error: kernel launches from templates are not allowed in system files
/usr/local/cuda/include/thrust/detail/device/cuda/detail/b40c/radixsort_api.h(48
8): error: kernel launches from templates are not allowed in system files

/usr/local/cuda/include/thrust/detail/device/cuda/detail/b40c/radixsort_api.h(50
4): error: kernel launches from templates are not allowed in system files

/usr/local/cuda/include/thrust/detail/device/cuda/detail/b40c/radixsort_api.h(51
7): error: kernel launches from templates are not allowed in system files

/usr/local/cuda/include/thrust/detail/device/cuda/detail/b40c/radixsort_api.h(52
1): error: kernel launches from templates are not allowed in system files

i find the first error before occured in:
    if ((_device_sm_version == 130) && (_work_decomposition.num_elements > static_cast<unsigned int>(_device_props.multiProcessorCount * _cycle_elements * 2))) { 
        FlushKernel<void><<<_grid_size, B40C_RADIXSORT_THREADS, scan_scatter_attrs.sharedSizeBytes>>>();
        synchronize_if_enabled("FlushKernel");
    }
can you give me some help about it?
thx

Original issue reported on code.google.com by huetfly_...@yahoo.com.cn on 27 Nov 2011 at 5:33