Revert the change for LargeKernelParameter and update code format check

This commit is contained in:
shawnz 2025-08-22 10:48:02 +08:00
parent 9d703d090b
commit 036638b713
2 changed files with 2 additions and 14 deletions

View File

@ -100,18 +100,6 @@ int main()
int rc;
cudaFree(0);
// Check compute capability - large kernel parameters require SM 7.0+
cudaDeviceProp deviceProp;
int devID;
checkCudaErrors(cudaGetDevice(&devID));
checkCudaErrors(cudaGetDeviceProperties(&deviceProp, devID));
if (deviceProp.major < 7) {
printf("LargeKernelParameter requires SM 7.0 or higher. Exiting...\n");
printf("Current device: %s (SM %d.%d)\n", deviceProp.name, deviceProp.major, deviceProp.minor);
exit(EXIT_WAIVED);
}
param_t p;
param_large_t p_large;