cuLDPC | CUDA implementation of LDPC decoding algorithm | GPU library
kandi X-RAY | cuLDPC Summary
kandi X-RAY | cuLDPC Summary
This is a CUDA-based software implementation of LDPC decoding algorithm. The code was developed by the authors for research purpose.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of cuLDPC
cuLDPC Key Features
cuLDPC Examples and Code Snippets
Community Discussions
Trending Discussions on cuLDPC
QUESTION
I am writing code to handle communication between two users and require a CUDA implementation of LDPC to quickly check for errors. I have not used CUDA before but I have found a repo on GitHub (https://github.com/robertwgh/cuLDPC) which does everything I need. My problem is that I am unable to compile this library, possibly due to it being an old version of CUDA (v4/v5).
I have tried compiling using Visual Studio by adding all of the files to a project, but various errors appear. Some of these seem to be with the code itself but the main issue is a problem with nvcc, given in an MSB3721 error.
In the repo there is a pull request which contains a makefile, so I checked that out but this has not changed the error.
I then tried going into the command prompt and using nvcc manually, but get the error
Cannot find compiler 'cl.exe' in PATH
I have tried solving this by adding
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\bin\
to my PATH variable, but I get the same error. I also ran vcvars32.bat and vcvars64.bat after resetting my PATH but this still had no effect both times.
Additionally, I have added cublas.lib, cudart.lib and cusparse.lib to the linker input dependencies in the project properties and I have checked CUDA 10.1 in the build dependencies > build customisations menu.
I am at a loss on where to go now and would very much appreciate some help from people with some more knowledge on the matter.
...ANSWER
Answered 2019-Jul-16 at 03:51FWIW that github repo built and ran for me, almost out-of-the-box. The only few hacks needed were:
- Don't compile
cuLDPC_kernel.cu
directly, because it's treated like a header file fromcuLDPC.cu
- Comment out some broken timing code, that is non-critical to the functionality. I guess the variables are in the wrong lexical scope. (result of
git diff
below)
First create a new CUDA-enabled Visual Studio project:
Drag in the "src" directory from the github repo. Then modify file properties for cuLDPC_kernel.cu to not be built.
Set "Excluded from Build" = Yes
Code changes required to build:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install cuLDPC
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page