![]() ![]() Warning: Unexpected CUDA API attach state. Kernel failure: unspecified launch failure (4) Using host libthread_db library "/lib/aarch64-linux-gnu/libthread_db.so.1".īreakpoint 1, VecInc> (vec=0x1018e0000, N=5120) Starting program: /mag1/todd/test/detach/./it Reading symbols from /mag1/todd/test/detach/it.done.īreakpoint 1 at 0x402eb0: file it.cu, line 8. This GDB was configured as "aarch64-elf-linux-gnu".įor bug reporting instructions, please see: There is NO WARRANTY, to the extent permitted by law. This is free software: you are free to change and redistribute it. NVCCFLAGS = $(NVCCGEN) -compiler-options -fno-strict-aliasing -DUNIX -g -G -rdc=trueĬOMPILE.cu = $(NVCC) $(NVCCFLAGS) $(TARGET_ARCH) -c Int i = blockDim.x * blockIdx.x + threadIdx.x įprintf(stderr, "kernel launch failure: %s (%d)\n",įprintf(stderr, "kernel failure: %s (%d)\n", cudaGetErrorString(err), err) ĬudaMemcpy(h_vec, d_vec, numBlocks * blockCount * sizeof(float), cudaMemcpyDeviceToHost) Īnd its makefile: NVCC = /usr/local/cuda/bin/nvcc Attempts to detach from a CUDA application being debugged with cuda-gdb cause the application to fail with “unspecified launch failure (4)”.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |