MCPcopy Create free account
hub / github.com/AnswerDotAI/gpu.cpp / operator<

Function operator<

gpu.hpp:483–485  ·  view source on GitHub ↗

* @brief Operator implementation to make the Kernel type hashable. * @param[in] lhs First Kernel instance to compare * @param[in] rhs Second Kernel instance to compare * @return True if lhs < rhs, false otherwise */

Source from the content-addressed store, hash-verified

481 * @return True if lhs < rhs, false otherwise
482 */
483inline bool operator<(const Kernel &lhs, const Kernel &rhs) {
484 return lhs.commandBuffer < rhs.commandBuffer;
485}
486
487/**
488 * @brief A pool of kernels to manage GPU resources. For simple use cases this

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected