We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
使用测试代码 ` #include <cuda_runtime.h> #include <stdio.h>
int main() { int size = 10 * 1024 * 1024; // 1GB float *devPtr;
cudaError_t err = cudaMalloc((void**)&devPtr, size); if (err != cudaSuccess) { fprintf(stderr, "cudaMalloc failed: %s\n", cudaGetErrorString(err)); return 1; } // ...你的代码... cudaFree(devPtr); return 0;
} `
gdb进行调试 发现进入了cuGetProcAddress_v2 ,然后segmentfault
The text was updated successfully, but these errors were encountered:
No branches or pull requests
使用测试代码
`
#include <cuda_runtime.h>
#include <stdio.h>
int main() {
int size = 10 * 1024 * 1024; // 1GB
float *devPtr;
}
`
gdb进行调试
发现进入了cuGetProcAddress_v2 ,然后segmentfault
The text was updated successfully, but these errors were encountered: