-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* temp solution for guess index length * add guess_dtype function in utils to help apply_spans_* functions to decide the dtype if dest not specified * github runner won't allow 16G for creating the 2**32+1 array with int32, try int8 * update dtype to int8 in test_utils to avoid memory usage in github * updated version for guess the data type for dest array: 1, construction of dest array now moved to ops.apply_span* 2, the dest array is src dtype in min/max operations, is span dtype in index_min/index_max operations 3, the span dtype is returned by np.nonzero which is np.int64 by default * minor update * add global long index size, add int32 return for span todo: add int32 return for span with njit functions. Now the njit is not flexible with int32/int64, tried np.int32/np.int64, 'int32'/'int64', return astype('int32'), none of them are working. * specify int32/64 type for get_span
- Loading branch information
1 parent
66697ec
commit b9a9d64
Showing
6 changed files
with
194 additions
and
73 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.