MCPcopy Create free account
hub / github.com/KomputeProject/kompute / getPushConstants

Method getPushConstants

src/include/kompute/Algorithm.hpp:264–268  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

262 */
263 template<typename T>
264 const std::vector<T> getPushConstants()
265 {
266 return { (T*)this->mPushConstantsData,
267 ((T*)this->mPushConstantsData) + this->mPushConstantsSize };
268 }
269 /**
270 * Gets the current tensors that are used in the algorithm.
271 *

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected