cavis/libnd4j/tests_cpu/layers_tests
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
..
AllTests.cpp Eclipse Migration Initial Commit 2019-06-06 15:21:15 +03:00
ArrayOptionsTests.cpp Shyrma reshape empty (#338) 2020-03-31 07:41:16 +03:00
AtomicTests.cu compression ops (#436) 2020-05-08 20:59:39 +03:00
AttentionTests.cpp Improve ResultSet usage in libnd4j (#281) 2020-03-10 07:42:50 +03:00
BackpropTests.cpp Improve ResultSet usage in libnd4j (#281) 2020-03-10 07:42:50 +03:00
BitwiseUtilsTests.cpp libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
BooleanOpsTests.cpp Improve ResultSet usage in libnd4j (#281) 2020-03-10 07:42:50 +03:00
BroadcastableOpsTests.cpp Improve ResultSet usage in libnd4j (#281) 2020-03-10 07:42:50 +03:00
BrodcastTests.cpp libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
CMakeLists.txt compression ops (#436) 2020-05-08 20:59:39 +03:00
CnpyTests.cpp libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
ConditionalTests.cpp libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
ConstantShapeHelperTests.cpp libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
ContextTests.cpp libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
ConvolutionTests1.cpp Shyrma weights format (#329) 2020-03-20 12:11:27 +03:00
ConvolutionTests2.cpp Shyrma weights format (#329) 2020-03-20 12:11:27 +03:00
CuDnnTests.cu Revert "OpenMP Threads execution (#297)" (#299) 2020-03-09 08:22:49 +03:00
CudaBasicsTests1.cu libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
CudaBasicsTests2.cu libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
CudaExtraArgumentsTests.cu libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
CudaLaunchHelperTests.cpp libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
DataBufferTests.cpp libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
DataBufferTestsCuda.cu libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
DataTypesValidationTests.cpp Improve ResultSet usage in libnd4j (#281) 2020-03-10 07:42:50 +03:00
DeclarableOpsTests1.cpp Shyrma reshape empty (#338) 2020-03-31 07:41:16 +03:00
DeclarableOpsTests2.cpp Improve ResultSet usage in libnd4j (#281) 2020-03-10 07:42:50 +03:00
DeclarableOpsTests3.cpp Improve ResultSet usage in libnd4j (#281) 2020-03-10 07:42:50 +03:00
DeclarableOpsTests4.cpp Shyrma reshape empty (#338) 2020-03-31 07:41:16 +03:00
DeclarableOpsTests5.cpp Few fixes (#361) 2020-04-06 21:01:59 +03:00
DeclarableOpsTests6.cpp Improve ResultSet usage in libnd4j (#281) 2020-03-10 07:42:50 +03:00
DeclarableOpsTests7.cpp Shugeo segment fix4 (#385) 2020-04-20 09:04:35 +03:00
DeclarableOpsTests8.cpp avg/max pooling3d bp fixed (#323) 2020-03-16 18:17:42 +03:00
DeclarableOpsTests9.cpp correct output empty shapes deducing in split op (#311) 2020-03-12 18:25:54 +03:00
DeclarableOpsTests10.cpp Lin_space operation improve (#373) 2020-04-16 14:53:56 +03:00
DeclarableOpsTests11.cpp Improve ResultSet usage in libnd4j (#281) 2020-03-10 07:42:50 +03:00
DeclarableOpsTests12.cpp Few fixes (#361) 2020-04-06 21:01:59 +03:00
DeclarableOpsTests13.cpp Shyrma gru bp (#377) 2020-04-16 08:09:04 +03:00
DeclarableOpsTests14.cpp - correct reshape op for empty shapes (#354) 2020-04-01 15:13:34 +11:00
DeclarableOpsTests15.cpp Shyrma gru bp (#377) 2020-04-16 08:09:04 +03:00
DeclarableOpsTests16.cpp Improve ResultSet usage in libnd4j (#281) 2020-03-10 07:42:50 +03:00
DeclarableOpsTests17.cpp Improve ResultSet usage in libnd4j (#281) 2020-03-10 07:42:50 +03:00
DeclarableOpsTests18.cpp xw_plus_b mkldnn implementation (#247) 2020-03-31 13:03:10 +03:00
DeclarableOpsTests19.cpp compression ops (#436) 2020-05-08 20:59:39 +03:00
DeclarableOpsTestsCuda1.cu Improve ResultSet usage in libnd4j (#281) 2020-03-10 07:42:50 +03:00
EmptyTests.cpp Shyrma reshape empty (#338) 2020-03-31 07:41:16 +03:00
ExtraArgumentsTests.cpp libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
FlatBuffersTests.cpp libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
FlatUtilsTests.cpp libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
GraphExecutionerTests.cpp libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
GraphHolderTests.cpp libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
GraphRandomGeneratorTests.cpp libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
GraphStateTests.cpp libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
GraphTests.cpp libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
HashUtilsTests.cpp libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
HelpersTests1.cpp Improve ResultSet usage in libnd4j (#281) 2020-03-10 07:42:50 +03:00
IndexingTests.cpp Improve ResultSet usage in libnd4j (#281) 2020-03-10 07:42:50 +03:00
JavaInteropCudaTests.cu libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
JavaInteropTests.cpp Lin_space operation improve (#373) 2020-04-16 14:53:56 +03:00
LambdaTests.cu libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
LaunchContextCudaTests.cu libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
LegacyOpsCudaTests.cu libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
LegacyOpsTests.cpp Improve ResultSet usage in libnd4j (#281) 2020-03-10 07:42:50 +03:00
ListOperationsTests.cpp Improve ResultSet usage in libnd4j (#281) 2020-03-10 07:42:50 +03:00
LoopCoordsHelperTests.cpp libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
MemoryUtilsTests.cpp libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
MklDnnTests.cpp MKLDNN tweaks (#415) 2020-04-27 17:37:53 +03:00
MmapTests.cpp libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
MultiDataTypeTests.cpp Improve ResultSet usage in libnd4j (#281) 2020-03-10 07:42:50 +03:00
MultiDeviceTests.cpp libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
NDArrayConstructorsTests.cu libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
NDArrayCudaBasicsTests.cu libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
NDArrayListTests.cpp libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
NDArrayTests.cpp profiling of stack and unstack ops (#261) 2020-03-03 07:32:37 +03:00
NDArrayTests2.cpp libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
NativeOpsTests.cpp libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
NlpTests.cpp Improve ResultSet usage in libnd4j (#281) 2020-03-10 07:42:50 +03:00
NodeTests.cpp libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
OmpLaunchHelperTests.cpp libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
OneOffTests.cpp libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
OpTrackerTests.cpp libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
OpTupleTests.cpp libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
PairwiseTests.cpp libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
ParityOpsTests.cpp Shyrma reshape empty (#338) 2020-03-31 07:41:16 +03:00
PerformanceTests.cpp MKLDNN tweaks (#415) 2020-04-27 17:37:53 +03:00
PlaygroundTests.cpp Shyrma lstm layer bp (#370) 2020-04-13 13:21:51 +03:00
ProtoBufTests.cpp libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
QuantizationTests.cpp libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
RNGTests.cpp Shugeo exponential distribution infinities fix (#403) 2020-04-22 12:12:00 +03:00
ReduceTests.cpp libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
ResultSetTests.cpp libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
SanityTests.cpp libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
ScalarTests.cpp Shyrma reshape empty (#338) 2020-03-31 07:41:16 +03:00
ScopeTests.cpp libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
ServerRelatedTests.cpp libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
SessionLocalTests.cpp libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
ShapeTests.cpp Improve ResultSet usage in libnd4j (#281) 2020-03-10 07:42:50 +03:00
ShapeTests2.cpp profiling of stack and unstack ops (#261) 2020-03-03 07:32:37 +03:00
ShapeUtilsTests.cpp libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
SingleDimTests.cpp Shyrma reshape empty (#338) 2020-03-31 07:41:16 +03:00
SortCpuTests.cpp libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
SortCudaTests.cu libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
SparseUtilsTest.cpp libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
StashTests.cpp libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
StringTests.cpp libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
SwitchTests.cpp libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
TadTests.cpp [WIP] Shyrma coords (#305) 2020-03-11 16:21:59 +03:00
ThreadsTests.cpp Revert "OpenMP Threads execution (#297)" (#299) 2020-03-09 08:22:49 +03:00
TypeCastTests.cpp libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
VariableProxyTests.cpp libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
VariableSpaceTests.cpp libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
VariableTests.cpp libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
WorkspaceTests.cpp libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
WorkspaceTests.cu libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
suppressions.txt Eclipse Migration Initial Commit 2019-06-06 15:21:15 +03:00
testinclude.h libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
testlayers.h libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00