@@ -176,7 +176,7 @@ CUBOOL_EXPORT CUBOOL_API cuBool_Status cuBool_SetupLogging(
176
176
* This function must be called before any other library function is called,
177
177
* except first get-info functions.
178
178
*
179
- * @note Pass CUBOOL_HINT_RELAXED_FINALIZE for library setup within python.
179
+ * @note Pass ` CUBOOL_HINT_RELAXED_FINALIZE` for library setup within python.
180
180
*
181
181
* @param hints Init hints.
182
182
*
@@ -190,7 +190,7 @@ CUBOOL_EXPORT CUBOOL_API cuBool_Status cuBool_Initialize(
190
190
* Finalize library state and all objects, which were created on this library context.
191
191
* This function always must be called as the last library function in the application.
192
192
*
193
- * @note Pass CUBOOL_HINT_RELAXED_FINALIZE for library init call, if relaxed finalize is required.
193
+ * @note Pass ` CUBOOL_HINT_RELAXED_FINALIZE` for library init call, if relaxed finalize is required.
194
194
* @note Invalidates all handle to the resources, created within this library instance
195
195
*
196
196
* @return Error code on this operation
@@ -230,8 +230,8 @@ CUBOOL_EXPORT CUBOOL_API cuBool_Status cuBool_Matrix_New(
230
230
* as (rows[i],cols[i]) for pair with i-th index.
231
231
*
232
232
* @note This function automatically reduces duplicates
233
- * @note Pass CUBOOL_HINT_VALUES_SORTED if values already in the row-col order.
234
- * @note Pass CUBOOL_HINT_NO_DUPLICATES if values has no duplicates
233
+ * @note Pass ` CUBOOL_HINT_VALUES_SORTED` if values already in the row-col order.
234
+ * @note Pass ` CUBOOL_HINT_NO_DUPLICATES` if values has no duplicates
235
235
*
236
236
* @param matrix Matrix handle to perform operation on
237
237
* @param rows Array of pairs row indices
@@ -329,13 +329,15 @@ CUBOOL_EXPORT CUBOOL_API cuBool_Status cuBool_Matrix_ExtractPairs(
329
329
*
330
330
* @note Provided sub-matrix region must be within the input matrix.
331
331
*
332
+ * @note Pass `CUBOOL_HINT_TIME_CHECK` hint to measure operation time
333
+ *
332
334
* @param result[out] Matrix handle where to store result of the operation
333
335
* @param matrix Input matrix to extract values from
334
336
* @param i First row id to extract
335
337
* @param j First column id to extract
336
338
* @param nrows Number of rows to extract
337
339
* @param ncols Number of columns to extract
338
- * @param hints Optional hints, pass CUBOOL_HINT_NO
340
+ * @param hints Hints for the operation
339
341
*
340
342
* @return Error code on this operation
341
343
*/
@@ -366,14 +368,18 @@ CUBOOL_EXPORT CUBOOL_API cuBool_Status cuBool_Matrix_Duplicate(
366
368
* Transpose source matrix and store result of this operation in result matrix.
367
369
* Formally: result = matrix ^ T.
368
370
*
371
+ * @note Pass `CUBOOL_HINT_TIME_CHECK` hint to measure operation time
372
+ *
369
373
* @param result[out] Matrix handle to store result of the operation
370
374
* @param matrix The source matrix
375
+ * @param hints Hints for the operation
371
376
*
372
377
* @return Error code on this operation
373
378
*/
374
379
CUBOOL_EXPORT CUBOOL_API cuBool_Status cuBool_Matrix_Transpose (
375
380
cuBool_Matrix result ,
376
- cuBool_Matrix matrix
381
+ cuBool_Matrix matrix ,
382
+ cuBool_Hints hints
377
383
);
378
384
379
385
/**
@@ -434,14 +440,18 @@ CUBOOL_EXPORT CUBOOL_API cuBool_Status cuBool_Matrix_Free(
434
440
* dim(matrix) = M x N
435
441
* dim(result) = M x 1
436
442
*
443
+ * @note Pass `CUBOOL_HINT_TIME_CHECK` hint to measure operation time
444
+ *
437
445
* @param result[out] Matrix hnd where to store result
438
446
* @param matrix Source matrix to reduce
447
+ * @param hints Hints for the operation
439
448
*
440
449
* @return Error code on this operation
441
450
*/
442
451
CUBOOL_EXPORT CUBOOL_API cuBool_Status cuBool_Matrix_Reduce (
443
452
cuBool_Matrix result ,
444
- cuBool_Matrix matrix
453
+ cuBool_Matrix matrix ,
454
+ cuBool_Hints hints
445
455
);
446
456
447
457
/**
@@ -452,16 +462,20 @@ CUBOOL_EXPORT CUBOOL_API cuBool_Status cuBool_Matrix_Reduce(
452
462
* dim(left) = M x N
453
463
* dim(right) = M x N
454
464
*
465
+ * @note Pass `CUBOOL_HINT_TIME_CHECK` hint to measure operation time
466
+ *
455
467
* @param result[out] Destination matrix for add-and-assign operation
456
468
* @param left Source matrix to be added
457
469
* @param right Source matrix to be added
470
+ * @param hints Hints for the operation
458
471
*
459
472
* @return Error code on this operation
460
473
*/
461
474
CUBOOL_EXPORT CUBOOL_API cuBool_Status cuBool_Matrix_EWiseAdd (
462
475
cuBool_Matrix result ,
463
476
cuBool_Matrix left ,
464
- cuBool_Matrix right
477
+ cuBool_Matrix right ,
478
+ cuBool_Hints hints
465
479
);
466
480
467
481
/**
@@ -473,12 +487,13 @@ CUBOOL_EXPORT CUBOOL_API cuBool_Status cuBool_Matrix_EWiseAdd(
473
487
* dim(right) = T x N
474
488
* dim(result) = M x N
475
489
*
476
- * @note Pass CUBOOL_HINT_ACCUMULATE hint to add result of the left x right operation.
490
+ * @note Pass `CUBOOL_HINT_ACCUMULATE` hint to add result of the left x right operation.
491
+ * @note Pass `CUBOOL_HINT_TIME_CHECK` hint to measure operation time
477
492
*
478
493
* @param result[out] Matrix handle where to store operation result
479
494
* @param left Input left matrix
480
495
* @param right Input right matrix
481
- * @param hints Hints for the operation.
496
+ * @param hints Hints for the operation
482
497
*
483
498
* @return Error code on this operation
484
499
*/
@@ -497,16 +512,20 @@ CUBOOL_EXPORT CUBOOL_API cuBool_Status cuBool_MxM(
497
512
* dim(right) = K x T
498
513
* dim(result) = MK x NT
499
514
*
515
+ * @note Pass `CUBOOL_HINT_TIME_CHECK` hint to measure operation time
516
+ *
500
517
* @param result[out] Matrix handle where to store operation result
501
518
* @param left Input left matrix
502
519
* @param right Input right matrix
520
+ * @param hints Hints for the operation
503
521
*
504
522
* @return Error code on this operation
505
523
*/
506
524
CUBOOL_EXPORT CUBOOL_API cuBool_Status cuBool_Kronecker (
507
525
cuBool_Matrix result ,
508
526
cuBool_Matrix left ,
509
- cuBool_Matrix right
527
+ cuBool_Matrix right ,
528
+ cuBool_Hint hints
510
529
);
511
530
512
531
#endif //CUBOOL_CUBOOL_H
0 commit comments