Skip to content
New issue

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

an illegal memory access was encountered #24

Open
294978174 opened this issue May 14, 2024 · 0 comments
Open

an illegal memory access was encountered #24

294978174 opened this issue May 14, 2024 · 0 comments

Comments

@294978174
Copy link

两个线程两个模型推理报错
V5的preprocess中
uint8_t *gpu_workspace = (uint8_t *)workspace->gpu(size_matrix + size_image);
gpu函数中 cudaMallocHost 报错size有值 但是gpu_为空

[cuda_tools.cpp:25]:CUDA Runtime error cudaMalloc(&gpu_, size) # an illegal memory access was encountered, code = cudaErrorIllegalAddress [ 700 ] in file trt_tensor.cpp:987

@294978174 294978174 changed the title [error][cuda_tools.cpp:25]:CUDA Runtime error cudaMallocHost(&cpu_, size) # an illegal memory access was encountered, code = cudaErrorIllegalAddress [ 700 ] an illegal memory access was encountered May 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant