|
21 | 21 | types defined by dpctl's C API. |
22 | 22 | """ |
23 | 23 |
|
24 | | -from libc.stdint cimport int64_t, uint8_t, uint32_t, uint64_t |
| 24 | +from libc.stdint cimport int64_t, uint8_t, uint16_t, uint32_t, uint64_t |
25 | 25 | from libcpp cimport bool |
26 | 26 |
|
27 | 27 |
|
@@ -674,6 +674,66 @@ cdef extern from "syclinterface/dpctl_sycl_queue_interface.h": |
674 | 674 | size_t Count, |
675 | 675 | const DPCTLSyclEventRef *depEvents, |
676 | 676 | size_t depEventsCount) |
| 677 | + cdef DPCTLSyclEventRef DPCTLQueue_Fill8( |
| 678 | + const DPCTLSyclQueueRef Q, |
| 679 | + void *Dest, |
| 680 | + uint8_t Val, |
| 681 | + size_t Count) |
| 682 | + cdef DPCTLSyclEventRef DPCTLQueue_Fill8WithEvents( |
| 683 | + const DPCTLSyclQueueRef Q, |
| 684 | + void *Dest, |
| 685 | + uint8_t Val, |
| 686 | + size_t Count, |
| 687 | + const DPCTLSyclEventRef *depEvents, |
| 688 | + size_t depEventsCount) |
| 689 | + cdef DPCTLSyclEventRef DPCTLQueue_Fill16( |
| 690 | + const DPCTLSyclQueueRef Q, |
| 691 | + void *Dest, |
| 692 | + uint16_t Val, |
| 693 | + size_t Count) |
| 694 | + cdef DPCTLSyclEventRef DPCTLQueue_Fill16WithEvents( |
| 695 | + const DPCTLSyclQueueRef Q, |
| 696 | + void *Dest, |
| 697 | + uint16_t Val, |
| 698 | + size_t Count, |
| 699 | + const DPCTLSyclEventRef *depEvents, |
| 700 | + size_t depEventsCount) |
| 701 | + cdef DPCTLSyclEventRef DPCTLQueue_Fill32( |
| 702 | + const DPCTLSyclQueueRef Q, |
| 703 | + void *Dest, |
| 704 | + uint32_t Val, |
| 705 | + size_t Count) |
| 706 | + cdef DPCTLSyclEventRef DPCTLQueue_Fill32WithEvents( |
| 707 | + const DPCTLSyclQueueRef Q, |
| 708 | + void *Dest, |
| 709 | + uint32_t Val, |
| 710 | + size_t Count, |
| 711 | + const DPCTLSyclEventRef *depEvents, |
| 712 | + size_t depEventsCount) |
| 713 | + cdef DPCTLSyclEventRef DPCTLQueue_Fill64( |
| 714 | + const DPCTLSyclQueueRef Q, |
| 715 | + void *Dest, |
| 716 | + uint64_t Val, |
| 717 | + size_t Count) |
| 718 | + cdef DPCTLSyclEventRef DPCTLQueue_Fill64WithEvents( |
| 719 | + const DPCTLSyclQueueRef Q, |
| 720 | + void *Dest, |
| 721 | + uint64_t Val, |
| 722 | + size_t Count, |
| 723 | + const DPCTLSyclEventRef *depEvents, |
| 724 | + size_t depEventsCount) |
| 725 | + cdef DPCTLSyclEventRef DPCTLQueue_Fill128( |
| 726 | + const DPCTLSyclQueueRef Q, |
| 727 | + void *Dest, |
| 728 | + uint64_t *Val, |
| 729 | + size_t Count) |
| 730 | + cdef DPCTLSyclEventRef DPCTLQueue_Fill128WithEvents( |
| 731 | + const DPCTLSyclQueueRef Q, |
| 732 | + void *Dest, |
| 733 | + uint64_t *Val, |
| 734 | + size_t Count, |
| 735 | + const DPCTLSyclEventRef *depEvents, |
| 736 | + size_t depEventsCount) |
677 | 737 | cdef DPCTLSyclEventRef DPCTLQueue_Memset( |
678 | 738 | const DPCTLSyclQueueRef Q, |
679 | 739 | void *Dest, |
|
0 commit comments