Description
Hi,
I met some problems when I used LibFuzzer to test a program. The target program can work very well by itself. However, when I integrated it with LibFuzzer, the program could not identify the GPU and led to the initialization failure. I tried to extract my initialization logic from LibFuzzer to run the same initialization and nothing happened.
I am pretty sure that all the programs were compiled with the same compiler options and executed under the same environment. When I ran the target program and printed the devices, I found that the program could not find my GPU correctly when LibFuzzer is integrated. My GPU and CUDA setup are all correct.
Here is my error messages:
Check failed: error == cudaSuccess (2 vs. 0) out of memory
The program was trying to load a caffe model. Also, all the programs were executed inside a docker.
Thanks.