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_api.h> #include <iostream> using namespace std; int main(int argc, char *argv[]) { void *data; cudaStream_t stream_ = 0; for (size_t i = 0; i < 32; i++) { cudaError_t error = cudaMallocAsync(&data, 1024 * 1024 * 1024, stream_); cout << "Gpu use: " << (i + 1) << "G " << cudaGetErrorString(error) << endl; } getchar(); return 0; }
#include <cuda_runtime_api.h> #include <iostream> using namespace std; int main(int argc, char *argv[]) { void *data; cudaStream_t stream_ = 0; for (size_t i = 0; i < 32; i++) { cudaError_t error = cudaMalloc(&data, 1024 * 1024 * 1024); cout << "Gpu use: " << (i + 1) << "G " << cudaGetErrorString(error) << endl; } getchar(); return 0; }
cudaMallocAsync has one more failure when get 12G on 551.61 with Prefer System Fallback
cudaMallocAsync
551.61
Prefer System Fallback
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Code
cudaMallocAsync
cudaMalloc
Driver Version 536.67
No Option CUDA - Sysmem Fallback Policy
cudaMallocAsync
cudaMalloc
Driver Version 551.61
Prefer System Fallback
cudaMallocAsync
cudaMalloc
Prefer No System Fallback
cudaMallocAsync
cudaMalloc
cudaMallocAsync
has one more failure when get 12G on551.61
withPrefer System Fallback
The text was updated successfully, but these errors were encountered: