warp-ctc icon indicating copy to clipboard operation
warp-ctc copied to clipboard

The gpu_ctc function returns 0

Open Lucia-Ningning opened this issue 7 years ago • 3 comments

Hello,when I use gpu_ctc function, it always returns 0, but with cpu_ctc, it returns the correct value. Can anyone gives me some advices on this? Any help would be appreciated, many thanks.

image

image

Lucia-Ningning avatar Dec 07 '16 10:12 Lucia-Ningning

I had the same issue. Happened when I moved my code from a single 980ti to a pascal titan X (but also different machine, different OS)

mtanana avatar Feb 02 '17 20:02 mtanana

From another issue with someone building on pascal, this solved it for me:

Edit cmakelists.txt:


set(CUDA_NVCC_FLAGS "${CUDA_NVCC_FLAGS} -gencode arch=compute_60,code=sm_60")
set(CUDA_NVCC_FLAGS "${CUDA_NVCC_FLAGS} -gencode arch=compute_61,code=sm_61")
set(CUDA_NVCC_FLAGS "${CUDA_NVCC_FLAGS} -gencode arch=compute_62,code=sm_62")''

mtanana avatar Feb 02 '17 20:02 mtanana

@mtanana It worked! Thank u soooo much!

Lucia-Ningning avatar Feb 21 '17 14:02 Lucia-Ningning