Skip to content

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

@GoogleCodeExporter

Description

@GoogleCodeExporter
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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions