mirror of
https://github.com/NVIDIA/cuda-samples.git
synced 2026-10-25 22:28:17 +08:00
Bug 5277193: Remove the CUFFT_LICENSE_ERROR checking as it is deprecated since CUDA13.0
This commit is contained in:
@@ -182,14 +182,6 @@ int runTest(int argc, char **argv)
|
||||
checkCudaErrors(cudaMemcpyFromSymbol(&hostCopyOfCallbackPtr, myOwnCallbackPtr, sizeof(hostCopyOfCallbackPtr)));
|
||||
|
||||
// Now associate the load callback with the plan.
|
||||
cufftResult status =
|
||||
cufftXtSetCallback(cb_plan, (void **)&hostCopyOfCallbackPtr, CUFFT_CB_LD_COMPLEX, (void **)&d_params);
|
||||
if (status == CUFFT_LICENSE_ERROR) {
|
||||
printf("This sample requires a valid license file.\n");
|
||||
printf("The file was either not found, out of date, or otherwise invalid.\n");
|
||||
return EXIT_WAIVED;
|
||||
}
|
||||
|
||||
checkCudaErrors(
|
||||
cufftXtSetCallback(cb_plan, (void **)&hostCopyOfCallbackPtr, CUFFT_CB_LD_COMPLEX, (void **)&d_params));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user