* @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. */
| 155 | * @param[in] capabilities The capabilities bitmask of the current engine. |
| 156 | */ |
| 157 | static 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 |
no outgoing calls
no test coverage detected
searching dependent graphs…