Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

various cleanups and GPU code. #20

Merged
merged 2 commits into from
May 10, 2018
Merged

Conversation

robertu94
Copy link
Collaborator

the beginnings of the GPU code can be found in src/sz/sz_cuda.cu.

+   addressed several signed/unsigned comparison issues which can lead
    to undefined behavior in overflow conditions
+   removed unrequited ';' after functions because they generate
    compiler warnings
+   all the use of C++ in the openmp header by using extern "C" behind a
    pre-processor macro.  This will allow but not require the use of C++
    templates and other code that has the potential to simplify code in
    the near future.
+   removed numerous dead/unused variables as they just add to cognitive
    burden in reading the code
+   silenced erroneous compiler warning about char subscripts
+   fixed printf format flags to represent the actual type of the
    printed variable as this can cause undefined behavior
+   remove reference to private zlib header <zutil.h> because this makes
    it possible to compile SZ on more platforms that don't install the
    private headers
+   remove printf statements in the library protions of the code not
    protected by `#ifdef DEBUG` guards because they slow down
    performance benchmarking
+   Began work on a GPU implementation
+   Add additional "{" and "}" to silence ambiguous parent warnings
@disheng222 disheng222 merged commit a753141 into szcompressor:master May 10, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants