vyre 0.4.0

GPU compute intermediate representation with a standard operation library
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Byte buffer equality operation module.

// Backend-specific lowering for memcmp.



// CPU reference kernel for `buffer.memcmp`.

/// Return true when both byte buffers have identical contents.
///
/// This reference is not constant-time.
#[must_use]
pub fn memcmp(a: &[u8], b: &[u8]) -> bool {
    a == b
}