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

Fix/jni #152

Merged
merged 55 commits into from
Apr 24, 2020
Merged

Fix/jni #152

merged 55 commits into from
Apr 24, 2020

Conversation

raulbocanegra
Copy link
Contributor

Make sure you have checked all steps below.

Description

  • Here are some details about my PR, including screenshots of any UI changes:

Tests

  • My PR adds the following unit tests OR does not need testing for this extremely good reason:

Benchmarks

  • My PR adds the following micro benchmarks OR does not need benchmarks for this extremely good reason:

Commits

  • My commits have been squashed if they address the same issue. In addition, my commits follow the guidelines from "How to write a good git commit message":
    1. Subject is separated from body by a blank line
    2. Subject is limited to 50 characters
    3. Subject does not end with a period
    4. Subject uses the imperative mood ("add", not "adding")
    5. Body wraps at 72 characters
    6. Body explains "what" and "why", not "how"

License

Documentation

  • In case of new functionality, my PR adds documentation that describes how to use it.

Raúl Bocanegra and others added 30 commits February 18, 2020 12:09
Lower case Cmake commands
Remove unused scripts
Remove C mallocs by C++ classes
Implemented pending Clang tidy suggestions
Fix paramater passing by reference instead of copy
Implemented more Clang Tidy checks.
Improved unit tests readability.
Move local functions to anonymous namespaces.
Raúl Bocanegra and others added 21 commits April 7, 2020 03:04
Pass input parameters by value in C binding.
Fix formatting of & on C++ references
Use a pointer to a af:::array instead of an af_array.
Refactor all the jni bindings to use arrayfire C++ API instead of the C one.
Now we don't need to update the reference in the jni calls
- Install laters version of conan
Use official conan package for google benchmark
Use cmake_find_package and cmake_paths conan generators isntead of cmake one.
# Conflicts:
#	bindings/jni/include/khiva_jni/internal/utils.h
#	bindings/jni/src/features.cpp
#	bindings/jni/src/matrix.cpp
#	bindings/jni/src/normalization.cpp
#	bindings/jni/src/regularization.cpp
@raulbocanegra raulbocanegra requested review from avilchess and jrecuerda and removed request for avilchess April 23, 2020 13:42
Copy link
Contributor

@jrecuerda jrecuerda left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Neat macro removal!

Copy link
Contributor

@avilchess avilchess left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good job mate!

@raulbocanegra raulbocanegra merged commit f61cc00 into master Apr 24, 2020
@raulbocanegra raulbocanegra deleted the fix/jni branch May 5, 2020 17:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants