@@ -212,8 +212,8 @@ template <typename T>
212
212
struct CeilOutputType
213
213
{
214
214
using value_type = typename std::disjunction<
215
- dpctl_td_ns::TypeMapResultEntry<T, double , double >,
216
- dpctl_td_ns::TypeMapResultEntry<T, float , float >,
215
+ dpctl_td_ns::TypeMapResultEntry<T, double >,
216
+ dpctl_td_ns::TypeMapResultEntry<T, float >,
217
217
dpctl_td_ns::DefaultResultEntry<void >>::result_type;
218
218
};
219
219
@@ -227,10 +227,8 @@ template <typename T>
227
227
struct ConjOutputType
228
228
{
229
229
using value_type = typename std::disjunction<
230
- dpctl_td_ns::
231
- TypeMapResultEntry<T, std::complex<double >, std::complex<double >>,
232
- dpctl_td_ns::
233
- TypeMapResultEntry<T, std::complex<float >, std::complex<float >>,
230
+ dpctl_td_ns::TypeMapResultEntry<T, std::complex<double >>,
231
+ dpctl_td_ns::TypeMapResultEntry<T, std::complex<float >>,
234
232
dpctl_td_ns::DefaultResultEntry<void >>::result_type;
235
233
};
236
234
@@ -246,8 +244,8 @@ struct CosOutputType
246
244
using value_type = typename std::disjunction<
247
245
dpctl_td_ns::TypeMapResultEntry<T, std::complex<double >>,
248
246
dpctl_td_ns::TypeMapResultEntry<T, std::complex<float >>,
249
- dpctl_td_ns::TypeMapResultEntry<T, double , double >,
250
- dpctl_td_ns::TypeMapResultEntry<T, float , float >,
247
+ dpctl_td_ns::TypeMapResultEntry<T, double >,
248
+ dpctl_td_ns::TypeMapResultEntry<T, float >,
251
249
dpctl_td_ns::DefaultResultEntry<void >>::result_type;
252
250
};
253
251
@@ -263,8 +261,8 @@ struct CoshOutputType
263
261
using value_type = typename std::disjunction<
264
262
dpctl_td_ns::TypeMapResultEntry<T, std::complex<double >>,
265
263
dpctl_td_ns::TypeMapResultEntry<T, std::complex<float >>,
266
- dpctl_td_ns::TypeMapResultEntry<T, double , double >,
267
- dpctl_td_ns::TypeMapResultEntry<T, float , float >,
264
+ dpctl_td_ns::TypeMapResultEntry<T, double >,
265
+ dpctl_td_ns::TypeMapResultEntry<T, float >,
268
266
dpctl_td_ns::DefaultResultEntry<void >>::result_type;
269
267
};
270
268
@@ -303,8 +301,10 @@ template <typename T>
303
301
struct ExpOutputType
304
302
{
305
303
using value_type = typename std::disjunction<
306
- dpctl_td_ns::TypeMapResultEntry<T, double , double >,
307
- dpctl_td_ns::TypeMapResultEntry<T, float , float >,
304
+ dpctl_td_ns::TypeMapResultEntry<T, std::complex<double >>,
305
+ dpctl_td_ns::TypeMapResultEntry<T, std::complex<float >>,
306
+ dpctl_td_ns::TypeMapResultEntry<T, double >,
307
+ dpctl_td_ns::TypeMapResultEntry<T, float >,
308
308
dpctl_td_ns::DefaultResultEntry<void >>::result_type;
309
309
};
310
310
@@ -318,8 +318,8 @@ template <typename T>
318
318
struct Expm1OutputType
319
319
{
320
320
using value_type = typename std::disjunction<
321
- dpctl_td_ns::TypeMapResultEntry<T, double , double >,
322
- dpctl_td_ns::TypeMapResultEntry<T, float , float >,
321
+ dpctl_td_ns::TypeMapResultEntry<T, double >,
322
+ dpctl_td_ns::TypeMapResultEntry<T, float >,
323
323
dpctl_td_ns::DefaultResultEntry<void >>::result_type;
324
324
};
325
325
@@ -333,8 +333,8 @@ template <typename T>
333
333
struct FloorOutputType
334
334
{
335
335
using value_type = typename std::disjunction<
336
- dpctl_td_ns::TypeMapResultEntry<T, double , double >,
337
- dpctl_td_ns::TypeMapResultEntry<T, float , float >,
336
+ dpctl_td_ns::TypeMapResultEntry<T, double >,
337
+ dpctl_td_ns::TypeMapResultEntry<T, float >,
338
338
dpctl_td_ns::DefaultResultEntry<void >>::result_type;
339
339
};
340
340
@@ -363,61 +363,57 @@ template <typename T>
363
363
struct LnOutputType
364
364
{
365
365
using value_type = typename std::disjunction<
366
- dpctl_td_ns::
367
- TypeMapResultEntry<T, std::complex<double >, std::complex<double >>,
368
- dpctl_td_ns::
369
- TypeMapResultEntry<T, std::complex<float >, std::complex<float >>,
370
- dpctl_td_ns::TypeMapResultEntry<T, double , double >,
371
- dpctl_td_ns::TypeMapResultEntry<T, float , float >,
366
+ dpctl_td_ns::TypeMapResultEntry<T, std::complex<double >>,
367
+ dpctl_td_ns::TypeMapResultEntry<T, std::complex<float >>,
368
+ dpctl_td_ns::TypeMapResultEntry<T, double >,
369
+ dpctl_td_ns::TypeMapResultEntry<T, float >,
372
370
dpctl_td_ns::DefaultResultEntry<void >>::result_type;
373
371
};
374
372
375
373
/* *
376
374
* @brief A factory to define pairs of supported types for which
377
- * MKL VM library provides support in oneapi::mkl::vm::log1p <T> function.
375
+ * MKL VM library provides support in oneapi::mkl::vm::log10 <T> function.
378
376
*
379
377
* @tparam T Type of input vector `a` and of result vector `y`.
380
378
*/
381
379
template <typename T>
382
- struct Log1pOutputType
380
+ struct Log10OutputType
383
381
{
384
382
using value_type = typename std::disjunction<
385
- dpctl_td_ns::TypeMapResultEntry<T, double , double >,
386
- dpctl_td_ns::TypeMapResultEntry<T, float , float >,
383
+ dpctl_td_ns::TypeMapResultEntry<T, std::complex<double >>,
384
+ dpctl_td_ns::TypeMapResultEntry<T, std::complex<float >>,
385
+ dpctl_td_ns::TypeMapResultEntry<T, double >,
386
+ dpctl_td_ns::TypeMapResultEntry<T, float >,
387
387
dpctl_td_ns::DefaultResultEntry<void >>::result_type;
388
388
};
389
389
390
390
/* *
391
391
* @brief A factory to define pairs of supported types for which
392
- * MKL VM library provides support in oneapi::mkl::vm::log2 <T> function.
392
+ * MKL VM library provides support in oneapi::mkl::vm::log1p <T> function.
393
393
*
394
394
* @tparam T Type of input vector `a` and of result vector `y`.
395
395
*/
396
396
template <typename T>
397
- struct Log2OutputType
397
+ struct Log1pOutputType
398
398
{
399
399
using value_type = typename std::disjunction<
400
- dpctl_td_ns::TypeMapResultEntry<T, double , double >,
401
- dpctl_td_ns::TypeMapResultEntry<T, float , float >,
400
+ dpctl_td_ns::TypeMapResultEntry<T, double >,
401
+ dpctl_td_ns::TypeMapResultEntry<T, float >,
402
402
dpctl_td_ns::DefaultResultEntry<void >>::result_type;
403
403
};
404
404
405
405
/* *
406
406
* @brief A factory to define pairs of supported types for which
407
- * MKL VM library provides support in oneapi::mkl::vm::log10 <T> function.
407
+ * MKL VM library provides support in oneapi::mkl::vm::log2 <T> function.
408
408
*
409
409
* @tparam T Type of input vector `a` and of result vector `y`.
410
410
*/
411
411
template <typename T>
412
- struct Log10OutputType
412
+ struct Log2OutputType
413
413
{
414
414
using value_type = typename std::disjunction<
415
- dpctl_td_ns::
416
- TypeMapResultEntry<T, std::complex<double >, std::complex<double >>,
417
- dpctl_td_ns::
418
- TypeMapResultEntry<T, std::complex<float >, std::complex<float >>,
419
- dpctl_td_ns::TypeMapResultEntry<T, double , double >,
420
- dpctl_td_ns::TypeMapResultEntry<T, float , float >,
415
+ dpctl_td_ns::TypeMapResultEntry<T, double >,
416
+ dpctl_td_ns::TypeMapResultEntry<T, float >,
421
417
dpctl_td_ns::DefaultResultEntry<void >>::result_type;
422
418
};
423
419
@@ -481,8 +477,8 @@ template <typename T>
481
477
struct RoundOutputType
482
478
{
483
479
using value_type = typename std::disjunction<
484
- dpctl_td_ns::TypeMapResultEntry<T, double , double >,
485
- dpctl_td_ns::TypeMapResultEntry<T, float , float >,
480
+ dpctl_td_ns::TypeMapResultEntry<T, double >,
481
+ dpctl_td_ns::TypeMapResultEntry<T, float >,
486
482
dpctl_td_ns::DefaultResultEntry<void >>::result_type;
487
483
};
488
484
@@ -498,8 +494,8 @@ struct SinOutputType
498
494
using value_type = typename std::disjunction<
499
495
dpctl_td_ns::TypeMapResultEntry<T, std::complex<double >>,
500
496
dpctl_td_ns::TypeMapResultEntry<T, std::complex<float >>,
501
- dpctl_td_ns::TypeMapResultEntry<T, double , double >,
502
- dpctl_td_ns::TypeMapResultEntry<T, float , float >,
497
+ dpctl_td_ns::TypeMapResultEntry<T, double >,
498
+ dpctl_td_ns::TypeMapResultEntry<T, float >,
503
499
dpctl_td_ns::DefaultResultEntry<void >>::result_type;
504
500
};
505
501
@@ -515,8 +511,8 @@ struct SinhOutputType
515
511
using value_type = typename std::disjunction<
516
512
dpctl_td_ns::TypeMapResultEntry<T, std::complex<double >>,
517
513
dpctl_td_ns::TypeMapResultEntry<T, std::complex<float >>,
518
- dpctl_td_ns::TypeMapResultEntry<T, double , double >,
519
- dpctl_td_ns::TypeMapResultEntry<T, float , float >,
514
+ dpctl_td_ns::TypeMapResultEntry<T, double >,
515
+ dpctl_td_ns::TypeMapResultEntry<T, float >,
520
516
dpctl_td_ns::DefaultResultEntry<void >>::result_type;
521
517
};
522
518
@@ -530,8 +526,8 @@ template <typename T>
530
526
struct SqrOutputType
531
527
{
532
528
using value_type = typename std::disjunction<
533
- dpctl_td_ns::TypeMapResultEntry<T, double , double >,
534
- dpctl_td_ns::TypeMapResultEntry<T, float , float >,
529
+ dpctl_td_ns::TypeMapResultEntry<T, double >,
530
+ dpctl_td_ns::TypeMapResultEntry<T, float >,
535
531
dpctl_td_ns::DefaultResultEntry<void >>::result_type;
536
532
};
537
533
@@ -545,12 +541,10 @@ template <typename T>
545
541
struct SqrtOutputType
546
542
{
547
543
using value_type = typename std::disjunction<
548
- dpctl_td_ns::
549
- TypeMapResultEntry<T, std::complex<double >, std::complex<double >>,
550
- dpctl_td_ns::
551
- TypeMapResultEntry<T, std::complex<float >, std::complex<float >>,
552
- dpctl_td_ns::TypeMapResultEntry<T, double , double >,
553
- dpctl_td_ns::TypeMapResultEntry<T, float , float >,
544
+ dpctl_td_ns::TypeMapResultEntry<T, std::complex<double >>,
545
+ dpctl_td_ns::TypeMapResultEntry<T, std::complex<float >>,
546
+ dpctl_td_ns::TypeMapResultEntry<T, double >,
547
+ dpctl_td_ns::TypeMapResultEntry<T, float >,
554
548
dpctl_td_ns::DefaultResultEntry<void >>::result_type;
555
549
};
556
550
@@ -623,8 +617,8 @@ template <typename T>
623
617
struct TruncOutputType
624
618
{
625
619
using value_type = typename std::disjunction<
626
- dpctl_td_ns::TypeMapResultEntry<T, double , double >,
627
- dpctl_td_ns::TypeMapResultEntry<T, float , float >,
620
+ dpctl_td_ns::TypeMapResultEntry<T, double >,
621
+ dpctl_td_ns::TypeMapResultEntry<T, float >,
628
622
dpctl_td_ns::DefaultResultEntry<void >>::result_type;
629
623
};
630
624
0 commit comments