-
Notifications
You must be signed in to change notification settings - Fork 63
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
make DataSet gen helpers available to pyknowhere #509
make DataSet gen helpers available to pyknowhere #509
Conversation
I think python3 wheel can now successfully build /unhold |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #509 +/- ##
=========================================
+ Coverage 0 72.36% +72.36%
=========================================
Files 0 63 +63
Lines 0 4291 +4291
=========================================
+ Hits 0 3105 +3105
- Misses 0 1186 +1186 |
@@ -254,8 +254,8 @@ GenDataSet(const int64_t nb, const int64_t dim, const void* xb) { | |||
return ret_ds; | |||
} | |||
|
|||
// swig won't compile when using int64_t* or size_t* as parameter |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it's because swig not support api override
Signed-off-by: Buqian Zheng <zhengbuqian@gmail.com>
b212f31
to
a3a3059
Compare
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: PwzXxm, zhengbuqian The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/kind improvement
/hold
This pr only changes the
const int64_t*
andconst size_t*
arguments ofGenIdsDataSet/GenResultDataSet
toconst void*
when compiling for swig.When
const int64_t*
andconst size_t*
is used as argument type, swig build fails due toerror: invalid conversion from 'const long long int*' to 'const int64_t*' {aka 'const long int*'} [-fpermissive]
.