cavis/libnd4j/include/ops/declarable
raver119 0613485654
compression ops (#436)
* Added declarations for decode/encode_bitmap ops.

Signed-off-by: shugeo <sgazeos@gmail.com>

* Added implementation for bitmap encoding/decoding ops.

Signed-off-by: shugeo <sgazeos@gmail.com>

* Added helpers for encode/decode bitmap ops.

Signed-off-by: shugeo <sgazeos@gmail.com>

* Refactored encodingBitmap helper.

Signed-off-by: shugeo <sgazeos@gmail.com>

* threshold encode/decode skeleton

* helper skeleton

* minor import fix

* encoder shape fn & op impl

* thresholdEncode cpu impl

Signed-off-by: raver119@gmail.com <raver119@gmail.com>

* thresholdDecode cpu impl

Signed-off-by: raver119@gmail.com <raver119@gmail.com>

* Only cosmetical changes.

Signed-off-by: shugeo <sgazeos@gmail.com>

* placeholder

Signed-off-by: raver119@gmail.com <raver119@gmail.com>

* Added cuda implementation for bitmap decode helper.

Signed-off-by: shugeo <sgazeos@gmail.com>

* cuda thresholdEstimate

Signed-off-by: raver119@gmail.com <raver119@gmail.com>

* cuda thresholdDecode

Signed-off-by: raver119@gmail.com <raver119@gmail.com>

* next step

Signed-off-by: raver119@gmail.com <raver119@gmail.com>

* - nano cmakelist update (get rid of Clion section)
- fixed forgotten throw in AtomicTests

Signed-off-by: raver119@gmail.com <raver119@gmail.com>

* thesholdEncode cuda impl

Signed-off-by: raver119@gmail.com <raver119@gmail.com>

* Added tests for bitmap encoding/decoding ops.

Signed-off-by: shugeo <sgazeos@gmail.com>

* Fixed tests for encode/decode bitmaps.

Signed-off-by: shugeo <sgazeos@gmail.com>

* Refactored decode/encode helpers.

Signed-off-by: shugeo <sgazeos@gmail.com>

* Fixed crashes with bitmap decode/encode helpers.

Signed-off-by: shugeo <sgazeos@gmail.com>

* bitmap encode/decode CPU

Signed-off-by: raver119@gmail.com <raver119@gmail.com>

* bitmap encode/decode CUDA

Signed-off-by: raver119@gmail.com <raver119@gmail.com>

* C API removed for threshold/bitmap encode

Signed-off-by: raver119@gmail.com <raver119@gmail.com>

* EncodeBitmap/DecodeBitmap Java side

Signed-off-by: raver119@gmail.com <raver119@gmail.com>

* EncodeThreshold/DecodeThreshold Java side

Signed-off-by: raver119@gmail.com <raver119@gmail.com>

* EncodeThreshold/DecodeThreshold Java side

Signed-off-by: raver119@gmail.com <raver119@gmail.com>

* few more tests for threshold encoding

Signed-off-by: raver119@gmail.com <raver119@gmail.com>

* minor test tweak

Signed-off-by: raver119@gmail.com <raver119@gmail.com>

* two special tests

Signed-off-by: raver119@gmail.com <raver119@gmail.com>

* encodeBitmap CPU fix

Signed-off-by: raver119@gmail.com <raver119@gmail.com>

* parallel_long/parallel_double proper spans fix

Signed-off-by: raver119@gmail.com <raver119@gmail.com>

* encodeThreshold CUDA fix

Signed-off-by: raver119@gmail.com <raver119@gmail.com>

* nano fix

Signed-off-by: raver119@gmail.com <raver119@gmail.com>

* grid tweaks

Signed-off-by: raver119@gmail.com <raver119@gmail.com>

* RTX adaptation for thresholdEncode

Signed-off-by: raver119 <raver119@gmail.com>

* don't allow threshold encoding for length < 2

Signed-off-by: raver119@gmail.com <raver119@gmail.com>

* get rid of NDArrayCompressor in EncodingHandler

Signed-off-by: raver119@gmail.com <raver119@gmail.com>

* one more minor update of EncodingHandler

Signed-off-by: raver119@gmail.com <raver119@gmail.com>

* one more minor tweak of EncodingHandler

Signed-off-by: raver119@gmail.com <raver119@gmail.com>

* - matmul allows integer data types use
- EncodingHandler boundary default value
- few tests for integer matmul

Signed-off-by: raver119@gmail.com <raver119@gmail.com>

* minor fix of CUDA bitmap encode

Signed-off-by: raver119@gmail.com <raver119@gmail.com>

* boundary changed to integer everywhere

Signed-off-by: raver119@gmail.com <raver119@gmail.com>

* boundary changed to integer everywhere

Signed-off-by: raver119@gmail.com <raver119@gmail.com>

* re-enable CUDA deallocator

Signed-off-by: raver119@gmail.com <raver119@gmail.com>

* threshold encoder fix for systems without omp

Signed-off-by: raver119@gmail.com <raver119@gmail.com>

* - encode_threshold now requires non-negative boundary
- minor tweak in EncodingHandler

Signed-off-by: raver119@gmail.com <raver119@gmail.com>

* restore parallelism in decode_bitmap

Signed-off-by: raver119@gmail.com <raver119@gmail.com>

* fall back to omp for encode_bitmap cpu

Signed-off-by: raver119@gmail.com <raver119@gmail.com>

* single time casts

Signed-off-by: raver119@gmail.com <raver119@gmail.com>

* - additional test for encode_threshold
- sync buffers to device before calling for shape function

Signed-off-by: raver119@gmail.com <raver119@gmail.com>

Co-authored-by: shugeo <sgazeos@gmail.com>
2020-05-08 20:59:39 +03:00
..
generic compression ops (#436) 2020-05-08 20:59:39 +03:00
headers compression ops (#436) 2020-05-08 20:59:39 +03:00
helpers compression ops (#436) 2020-05-08 20:59:39 +03:00
impl Few fixes (#361) 2020-04-06 21:01:59 +03:00
platform MKLDNN tweaks (#415) 2020-04-27 17:37:53 +03:00
BooleanOp.h libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
BroadcastableBoolOp.h Few fixes (#361) 2020-04-06 21:01:59 +03:00
BroadcastableOp.h libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
CustomOperations.h compression ops (#436) 2020-05-08 20:59:39 +03:00
DeclarableCustomOp.h libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
DeclarableListOp.h Improve ResultSet usage in libnd4j (#281) 2020-03-10 07:42:50 +03:00
DeclarableOp.h Nullify (#304) 2020-03-20 08:49:28 +03:00
DeclarableReductionOp.h libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
EmptyHandling.h Revert "OpenMP Threads execution (#297)" (#299) 2020-03-09 08:22:49 +03:00
LegacyBroadcastBoolOp.h libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
LegacyBroadcastOp.h libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
LegacyIndexReduceOp.h libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
LegacyOp.h libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
LegacyPairwiseTransformBoolOp.h libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
LegacyPairwiseTransformOp.h libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
LegacyRandomOp.h benchmarks fixes (#321) 2020-03-16 10:31:06 +03:00
LegacyReduce3Op.h libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
LegacyReduceBoolOp.h libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
LegacyReduceFloatOp.h libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
LegacyReduceLongOp.h libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
LegacyReduceOp.h libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
LegacyReduceSameOp.h libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
LegacyScalarBoolOp.h libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
LegacyScalarOp.h libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
LegacyStatsOp.h libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
LegacyTransformAnyOp.h libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
LegacyTransformBoolOp.h libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
LegacyTransformFloatOp.h libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
LegacyTransformOp.h libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
LegacyTransformSameOp.h libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
LegacyTransformStrictOp.h libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
LogicOp.h libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
OpDescriptor.h libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
OpRegistrator.h Revert "OpenMP Threads execution (#297)" (#299) 2020-03-09 08:22:49 +03:00
OpTuple.h libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
PlatformHelper.h Nullify (#304) 2020-03-20 08:49:28 +03:00