Skip to content

Commit

Permalink
edit tests and examples
Browse files Browse the repository at this point in the history
  • Loading branch information
fruitfly1026 committed Dec 9, 2016
1 parent f3e627d commit e91026a
Show file tree
Hide file tree
Showing 283 changed files with 18,755 additions and 4,830 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Expand Up @@ -62,3 +62,4 @@ set_target_properties(ParTI PROPERTIES C_STANDARD 99)
set_target_properties(ParTI_s PROPERTIES C_STANDARD 99)

add_subdirectory("examples")
add_subdirectory("tests")
3,261 changes: 3,261 additions & 0 deletions docs/html/_par_t_i_8h.html

Large diffs are not rendered by default.

99 changes: 99 additions & 0 deletions docs/html/_par_t_i_8h.js
@@ -0,0 +1,99 @@
var _par_t_i_8h =
[
[ "sptVector", "structspt_vector.html", "structspt_vector" ],
[ "sptSizeVector", "structspt_size_vector.html", "structspt_size_vector" ],
[ "sptMatrix", "structspt_matrix.html", "structspt_matrix" ],
[ "sptSparseMatrix", "structspt_sparse_matrix.html", "structspt_sparse_matrix" ],
[ "sptSparseTensor", "structspt_sparse_tensor.html", "structspt_sparse_tensor" ],
[ "sptSemiSparseTensor", "structspt_semi_sparse_tensor.html", "structspt_semi_sparse_tensor" ],
[ "sptScalar", "_par_t_i_8h.html#a1c87fa8acf3107c9a2a2090569f86821", null ],
[ "sptTimer", "_par_t_i_8h.html#a337ad6ce4a93610453a9751874d3fc02", null ],
[ "SptError", "_par_t_i_8h.html#ab593f9645e143cd2e8e8822e263e124e", [
[ "SPTERR_NO_ERROR", "_par_t_i_8h.html#ab593f9645e143cd2e8e8822e263e124ea086cffc64c146f9cdb67b0fa82333604", null ],
[ "SPTERR_UNKNOWN", "_par_t_i_8h.html#ab593f9645e143cd2e8e8822e263e124ea3b06a12891308c4c3dc5ddb3e948f70c", null ],
[ "SPTERR_SHAPE_MISMATCH", "_par_t_i_8h.html#ab593f9645e143cd2e8e8822e263e124eaf29c9744152c416b313052b9d5a91ad2", null ],
[ "SPTERR_VALUE_ERROR", "_par_t_i_8h.html#ab593f9645e143cd2e8e8822e263e124ea71464a82e00c01683407941a17f1227b", null ],
[ "SPTERR_ZERO_DIVISION", "_par_t_i_8h.html#ab593f9645e143cd2e8e8822e263e124ead5c2037bf4da394d51a8e36de4fe7aa4", null ],
[ "SPTERR_NO_MORE", "_par_t_i_8h.html#ab593f9645e143cd2e8e8822e263e124ea4a2caf5ac682ca0a80c98b067635dc20", null ],
[ "SPTERR_OS_ERROR", "_par_t_i_8h.html#ab593f9645e143cd2e8e8822e263e124eaf2e6dd71ecc634612cfb88f2799026e5", null ],
[ "SPTERR_CUDA_ERROR", "_par_t_i_8h.html#ab593f9645e143cd2e8e8822e263e124ea980d1e819dd36fb2c3a344387e764d91", null ]
] ],
[ "sptAppendMatrix", "_par_t_i_8h.html#a2065d39c0d3bf06112f26303e890611c", null ],
[ "sptAppendSizeVector", "_par_t_i_8h.html#a3a6f74155e98b09f94902f4133235841", null ],
[ "sptAppendSizeVectorWithVector", "_par_t_i_8h.html#a37de66db7b2db54be84b4989683030ae", null ],
[ "sptAppendVector", "_par_t_i_8h.html#ab043fa6070f338517c20c059f911d6ef", null ],
[ "sptAppendVectorWithVector", "_par_t_i_8h.html#adda47654c91ec195e8a2cad73ee93338", null ],
[ "sptClearLastError", "_par_t_i_8h.html#add25326e334450d25b96e3d60f436776", null ],
[ "sptConstantMatrix", "_par_t_i_8h.html#ac26b13dfd68943822058fc02f2e569a7", null ],
[ "sptConstantSizeVector", "_par_t_i_8h.html#aaca520b7ca0e14090802bc1378f9dd05", null ],
[ "sptConstantVector", "_par_t_i_8h.html#a20634af5e854719281af4c3ad42661c6", null ],
[ "sptCopyMatrix", "_par_t_i_8h.html#aabe2daae8647508b9bdf750c0fc1e081", null ],
[ "sptCopySemiSparseTensor", "_par_t_i_8h.html#ae681bb74132a6fcfd81a94d069eb31e7", null ],
[ "sptCopySizeVector", "_par_t_i_8h.html#a26efd9fe07d2618dbd33e7ba13ebfa27", null ],
[ "sptCopySparseMatrix", "_par_t_i_8h.html#ab99c5d3d62bc35b03b3f1f25e04b9b6d", null ],
[ "sptCopySparseTensor", "_par_t_i_8h.html#ab653b984deaa9a302737be6744ee08b7", null ],
[ "sptCopyVector", "_par_t_i_8h.html#a77c6345d3c06c5b3cc8fb58e3ac4bca3", null ],
[ "sptCudaGetLastError", "_par_t_i_8h.html#aa98af93d38ea29dae8d0de7fa70917fd", null ],
[ "sptCudaMatrix2Norm", "_par_t_i_8h.html#a73cfa407dde8f6ecba0ad0edae4d969a", null ],
[ "sptCudaMatrixDotMulSeq", "_par_t_i_8h.html#a26896f421a179f73711bb5f8b75b667d", null ],
[ "sptCudaMTTKRP", "_par_t_i_8h.html#affc33809c9afc684726a3b9fe53a0abf", null ],
[ "sptCudaMTTKRPDevice", "_par_t_i_8h.html#af238b95277d9ff2f579ab9b1a20b92f0", null ],
[ "sptCudaSetDevice", "_par_t_i_8h.html#a28acb8657a5299d1ff9f557ddaa2c0ce", null ],
[ "sptCudaSparseTensorDotMulEq", "_par_t_i_8h.html#a59d6739c7be9b03110de20f2f60e5c22", null ],
[ "sptCudaSparseTensorMulMatrix", "_par_t_i_8h.html#a4e491e13b9c8237842555eb30796607f", null ],
[ "sptDumpMatrix", "_par_t_i_8h.html#a960764c44f729c2013036944877bdca3", null ],
[ "sptDumpSizeVector", "_par_t_i_8h.html#afc96b96d7866ae015191f6e94e5c8bcb", null ],
[ "sptDumpSparseTensor", "_par_t_i_8h.html#a1c9ab2add2f8b16e0671ca3729d4b87c", null ],
[ "sptDumpVector", "_par_t_i_8h.html#a903f22af238dd4729116dc7e85c9e90d", null ],
[ "sptElapsedTime", "_par_t_i_8h.html#a4a96841c9c520af2076b88e3ed8195d7", null ],
[ "sptFreeMatrix", "_par_t_i_8h.html#adf59ceda1369e7704bfb7ca9ba49d2ac", null ],
[ "sptFreeSemiSparseTensor", "_par_t_i_8h.html#a6509bc3a4792285bbeb75a226b38fbd5", null ],
[ "sptFreeSizeVector", "_par_t_i_8h.html#a82a84ebd46c55b433f36a4d9add436da", null ],
[ "sptFreeSparseMatrix", "_par_t_i_8h.html#a9995f627d1201abcc4ff4c40529b5655", null ],
[ "sptFreeSparseTensor", "_par_t_i_8h.html#a8c9c86ef2f0463535dd64830471a138a", null ],
[ "sptFreeTimer", "_par_t_i_8h.html#a3d5fcb855e15317cf67dad8197c9c0e3", null ],
[ "sptFreeVector", "_par_t_i_8h.html#a80abce2b75a158aaf2fc6b1272d761a1", null ],
[ "sptGetLastError", "_par_t_i_8h.html#a9cd52f734a2e5f9fb76a604560ecf802", null ],
[ "sptIdentityMatrix", "_par_t_i_8h.html#af0eb43f23bec6bf1d07db630fe23e003", null ],
[ "sptLoadSparseTensor", "_par_t_i_8h.html#ac085f5dcc6f5b1cf0ebc036bcbf3c98e", null ],
[ "sptMatrix2Norm", "_par_t_i_8h.html#a7dfd411aa674eb75a57c01f91a86303b", null ],
[ "sptMatrixDotMul", "_par_t_i_8h.html#a51cd0ef319cc3791577c703a020e3597", null ],
[ "sptMatrixDotMulSeq", "_par_t_i_8h.html#a999f5e2e37ce800816a721b3f09f636a", null ],
[ "sptMTTKRP", "_par_t_i_8h.html#a1f10676e0bccfb08e0ccba88f36d1d0a", null ],
[ "sptNewMatrix", "_par_t_i_8h.html#ae65e2a756dbce526def839e919b727b7", null ],
[ "sptNewSemiSparseTensor", "_par_t_i_8h.html#a0bfde36fcfffd750e2327016dba7729b", null ],
[ "sptNewSizeVector", "_par_t_i_8h.html#a7c1199f1ad512fa338d20bcf70211b98", null ],
[ "sptNewSparseMatrix", "_par_t_i_8h.html#a8e6d7d2aa62f0a2aeed3ca9995e5810e", null ],
[ "sptNewSparseTensor", "_par_t_i_8h.html#a69a35370f07d80559a864ebd5a0023bd", null ],
[ "sptNewTimer", "_par_t_i_8h.html#a8b4e7070038157901f84bba9c95993e1", null ],
[ "sptNewVector", "_par_t_i_8h.html#ab202fd7d1924263c99ac4aa903a640ff", null ],
[ "sptOmpMatrix2Norm", "_par_t_i_8h.html#aeacc8601ab3b6e4864340ee2cf96f4a2", null ],
[ "sptOmpMatrixDotMulSeq", "_par_t_i_8h.html#aa8ed5a531b84212755c606e620cdc2bc", null ],
[ "sptOmpMTTKRP", "_par_t_i_8h.html#a80fcab9dd802d37aacf645ba2975c867", null ],
[ "sptOmpSparseTensorDotMulEq", "_par_t_i_8h.html#a03aee4186f1a817f888c4a70459db2f2", null ],
[ "sptOmpSparseTensorMulMatrix", "_par_t_i_8h.html#a1e133fcc04cfe61e0473cc2600e4f434", null ],
[ "sptPrintElapsedTime", "_par_t_i_8h.html#a86a2aa190e55df46572a3bbf42f4bdb1", null ],
[ "sptRandomizeMatrix", "_par_t_i_8h.html#ae9e35bee8fd9c5af876d196771a8cd31", null ],
[ "sptResizeMatrix", "_par_t_i_8h.html#a84f56c255783ccd5321559c9689ad3c4", null ],
[ "sptResizeSizeVector", "_par_t_i_8h.html#a94d822f28cc8466aa65b80e755c3d571", null ],
[ "sptResizeVector", "_par_t_i_8h.html#a8c308ec7a083df0d581bd7bccc495639", null ],
[ "sptSemiSparseTensorSetIndices", "_par_t_i_8h.html#aaef81e8e85505158fb2e4557cc1a77d7", null ],
[ "sptSemiSparseTensorSortIndex", "_par_t_i_8h.html#a125a76e08e08f163043298e70b2ef626", null ],
[ "sptSemiSparseTensorToSparseTensor", "_par_t_i_8h.html#ae2cd169e9035472b4181918703f0617b", null ],
[ "sptSparseTensorAdd", "_par_t_i_8h.html#a44ddcb9226bb3b1e65fa632d0867d72f", null ],
[ "sptSparseTensorDivScalar", "_par_t_i_8h.html#ad1d10a092505e72a1acda9091f346e44", null ],
[ "sptSparseTensorDotDiv", "_par_t_i_8h.html#a5fff976b54cee991f34f1c1d91f59a20", null ],
[ "sptSparseTensorDotMul", "_par_t_i_8h.html#a8279f2509f0abfd8e2f503118dfd0b0b", null ],
[ "sptSparseTensorDotMulEq", "_par_t_i_8h.html#a222d2d6959b4229e07005577114092c6", null ],
[ "sptSparseTensorKhatriRaoMul", "_par_t_i_8h.html#af5a5fa8daf193ec9f29fe89f8f3a92c7", null ],
[ "sptSparseTensorKroneckerMul", "_par_t_i_8h.html#aa01024952886db1fd249918d16bc9265", null ],
[ "sptSparseTensorMulMatrix", "_par_t_i_8h.html#aa4cac74209af926a9d6a5ca86e58ef30", null ],
[ "sptSparseTensorMulScalar", "_par_t_i_8h.html#aedaba856c277bd2ea98192f0ccb81c4d", null ],
[ "sptSparseTensorSortIndex", "_par_t_i_8h.html#a0e43d1d635481b808f5cb10d034dd878", null ],
[ "sptSparseTensorSortIndexAtMode", "_par_t_i_8h.html#ae3795206b8415a2dcdb9d69fc64d0394", null ],
[ "sptSparseTensorSub", "_par_t_i_8h.html#a010a903fe76f13fae52db1c504583aa1", null ],
[ "sptSparseTensorToMatrix", "_par_t_i_8h.html#ab0f210a8eb2b455ab5cba60918a0d059", null ],
[ "sptSparseTensorToSemiSparseTensor", "_par_t_i_8h.html#a5f3213ac53ee7f862c901255f67b6e30", null ],
[ "sptStartTimer", "_par_t_i_8h.html#a4a7699a6ad06847d8df335a35dd2a346", null ],
[ "sptStopTimer", "_par_t_i_8h.html#a0e58805517bfc54576f5329c12eacbfa", null ]
];

0 comments on commit e91026a

Please sign in to comment.