cuBLAS Level-1 amax execution error

Hello, I’m new here. I’ve been doing gpgpu-sim simulation which is running on docker.

I want to simulate CUDA library ; especially cuBLAS/Level -1/amax ( for test )

I did compiled with " nvcc cublas_amax_example.cu -lcublas --cudart=shared -ccbin g++ -I …/…/utils -o test "

After I made execution file (“test” file) " cp …/…/…/…/gpgpu-sim_distribution/configs/tested-cfg
s/SM7_TITANV/* ./ "

I wrote " ./test " to run the simulator. But the error in below occured.

A
1.00 2.00 3.00 4.00

cublas error 1 at cublas_amax_example.cu:81
terminate called after throwing an instance of ‘std::runtime_error’
what(): cublas error
Aborted (core dumped)

What would be a possible problem in this code?

Thank you for reading.

This isn’t the place to ask for support with gpgpu-sim questions. That is not a NVIDIA product.

If you desire help here, my suggestion is:

  1. run your code on a CUDA-capable GPU
  2. provide a complete test case: the full code you are running, the compilation command line, and the GPU type you are running on, as well as the OS of your machine.