1

I am interested in using libbsc in CUDA support. libbsc is basically used for compression in GPU (as well as CPU). As far as I tested, it is running in CPU (openmp) not in NVIDIA GPU (CUDA driver installed). My GPU is

03:00.0 VGA compatible controller: NVIDIA Corporation GM200GL [Quadro M6000] (rev a1)

I downloaded bsc source package from http://libbsc.com/

If I enable CUDA support flags -DLIBBSC_SORT_TRANSFORM_SUPPORT -DLIBBSC_CUDA_SUPPORT, it is showing me the following error

g++ -g -Wall -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -fomit-frame-pointer -fstrict-aliasing -ffast-math -DLIBBSC_SORT_TRANSFORM_SUPPORT -DLIBBSC_CUDA_SUPPORT -DNDEBUG bsc.cpp -o bsc -L. -lbsc
./libbsc.a(st.o): In function `bsc_st_encode':
/home/bsc-3.1.0-src/libbsc/st/st.cpp:1015: undefined reference to `bsc_st_encode_cuda'
./libbsc.a(st.o): In function `bsc_st_init':
/home/bsc-3.1.0-src/libbsc/st/st.cpp:65: undefined reference to `bsc_st_cuda_init'
collect2: error: ld returned 1 exit status
make: *** [bsc] Error 1

Can anyone help me in enabling CUDA support such that bsc will be running in GPU?

I am using Linux (both Ubuntu 14.02 and CentOS 7.2)

Thanks in advance

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.