MCPcopy Create free account
hub / github.com/ashvardanian/StringZilla / requires_unified_memory

Function requires_unified_memory

python/stringzillas.c:157–159  ·  view source on GitHub ↗

* @brief Helper function to determine if unified memory is required based on capabilities and device scope. * @param[in] capabilities The capabilities bitmask of the current engine. */

Source from the content-addressed store, hash-verified

155 * @param[in] capabilities The capabilities bitmask of the current engine.
156 */
157static inline sz_bool_t requires_unified_memory(sz_capability_t capabilities) {
158 return (capabilities & sz_cap_cuda_k) != 0;
159}
160
161#pragma endregion
162

Callers 5

NeedlemanWunsch_callFunction · 0.85
SmithWaterman_callFunction · 0.85
Fingerprints_callFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…