Hi,
We are using DeepStream 1.5, but we want to using visionworks together, the question is: DeepStream 1.5 depend on CUDA 9.0 but visionworks 1.6 depend on CUDA 8.0. We tried write some code just using CUDA 9.0 and let the libvisionworks.so link to CUDA 8.0, but "stack smashing detected" reported.
We made a minimum code base to see is there any one can help us.
//main.cpp
#include <iostream>
using namespace std;
#include <cuda_runtime_api.h>
#include <NVX/nvx.h>
int main()
{
cout << "Hello world!" << endl;
void* data;
cudaMalloc(&data, 3 * 448 * 640 * 4); //<b>link to CUDA 9.0</b>
vx_context ctx = vxCreateContext(); //<b>*** stack smashing detected ***</b>
vxReleaseContext(&ctx);
cudaFree(data);
return 0;
}
The attachments is code project and crash snapshot, and the driver is 390.30
Thanks.
vx_cuda9.zip (1.11 KB)