Loading...
cudaErrorNotSupported (801)cudaErrorNotSupported indicates attempting to use a feature not available on the current GPU or driver.
CUDA error: not supported cudaErrorNotSupported
Query device properties.
cudaDeviceProp prop;
cudaGetDeviceProperties(&prop, 0);
printf("Compute: %d.%d\n", prop.major, prop.minor);
printf("Cooperative launch: %d\n", prop.cooperativeLaunch);Alternative approach.
if (prop.cooperativeLaunch) {
useCooperativeKernel();
} else {
useFallbackKernel();
}No capability check.
cudaLaunchCooperativeKernel(...); // May not be supportedCheck first.
if (prop.cooperativeLaunch) {
cudaLaunchCooperativeKernel(...);
}CUDA documentation lists compute capability for each feature.
Need help debugging CUDA errors? Download RightNow AI for intelligent error analysis and optimization suggestions.