@@ -438,18 +438,20 @@ INP_DLLEXPORT void
438
438
* @brief math library implementation of random number generator (normal continious distribution)
439
439
*
440
440
* @param [in] q_ref Reference to SYCL queue.
441
- * @param [out] result Output array.
441
+ * @param [out] result_out Output array.
442
442
* @param [in] mean Mean value.
443
443
* @param [in] stddev Standard deviation.
444
444
* @param [in] size Number of elements in `result` arrays.
445
+ * @param [in] random_state_in Pointer on random state.
445
446
* @param [in] dep_event_vec_ref Reference to vector of SYCL events.
446
447
*/
447
448
template <typename _DataType>
448
449
INP_DLLEXPORT DPCTLSyclEventRef dpnp_rng_normal_c (DPCTLSyclQueueRef q_ref,
449
- void * result,
450
- const _DataType mean,
451
- const _DataType stddev,
452
- const size_t size,
450
+ void * result_out,
451
+ const double mean,
452
+ const double stddev,
453
+ const int64_t size,
454
+ void * random_state_in,
453
455
const DPCTLEventVectorRef dep_event_vec_ref);
454
456
455
457
template <typename _DataType>
@@ -629,17 +631,11 @@ INP_DLLEXPORT void dpnp_rng_standard_gamma_c(void* result, const _DataType shape
629
631
* @brief math library implementation of random number generator (standard normal distribution)
630
632
*
631
633
* @param [in] q_ref Reference to SYCL queue.
632
- * @param [out] result Output array.
634
+ * @param [out] result_out Output array.
633
635
* @param [in] size Number of elements in `result` arrays.
634
636
* @param [in] dep_event_vec_ref Reference to vector of SYCL events.
635
637
*/
636
638
template <typename _DataType>
637
- INP_DLLEXPORT DPCTLSyclEventRef dpnp_rng_standard_normal_c (DPCTLSyclQueueRef q_ref,
638
- void * result,
639
- const size_t size,
640
- const DPCTLEventVectorRef dep_event_vec_ref);
641
-
642
- template <typename _DataType>
643
639
INP_DLLEXPORT void dpnp_rng_standard_normal_c (void * result, const size_t size);
644
640
645
641
/* *
@@ -692,7 +688,7 @@ INP_DLLEXPORT void dpnp_rng_triangular_c(
692
688
* @brief math library implementation of random number generator (uniform distribution)
693
689
*
694
690
* @param [in] q_ref Reference to SYCL queue.
695
- * @param [out] result Output array.
691
+ * @param [out] result_out Output array.
696
692
* @param [in] low Left bound of array values.
697
693
* @param [in] high Right bound of array values.
698
694
* @param [in] size Number of elements in `result` array.
@@ -701,10 +697,10 @@ INP_DLLEXPORT void dpnp_rng_triangular_c(
701
697
*/
702
698
template <typename _DataType>
703
699
INP_DLLEXPORT DPCTLSyclEventRef dpnp_rng_uniform_c (DPCTLSyclQueueRef q_ref,
704
- void * result ,
705
- const long low,
706
- const long high,
707
- const size_t size,
700
+ void * result_out ,
701
+ const double low,
702
+ const double high,
703
+ const int64_t size,
708
704
void * random_state_in,
709
705
const DPCTLEventVectorRef dep_event_vec_ref);
710
706
0 commit comments