Closed cracy3m closed 7 months ago
Thank you for creating the issue @cracy3m - could you share the logs of the compile error? It may actually be due to the version of the headers, but we can have more visibility depending on the logs
Thank you for creating the issue @cracy3m - could you share the logs of the compile error? It may actually be due to the version of the headers, but we can have more visibility depending on the logs
logs
.\kompute\src\include\kompute\Algorithm.hpp:199: error: C2664: “void kp::Algorithm::setPushConstants(void *,uint32_t,uint32_t)”: can not convert arg 1 from “const _Ty *” to “void *”
with
[
_Ty=float
]
.\kompute\src\include\kompute/Algorithm.hpp(199): note: Conversion missing qualifier
@axsaucedo Is it possible that member var of class in Komputelib change private to protect (for subclass access )? I try to use Kompute src to do some gpgpu calculations without modify the lib source; I think some functions can be easily implemented only by subclassing, such as uniform buffer. If I can't access the member variables(kompute lib class) from subclass , I think I must only create Vulkan commandbuffer、pipeline... by myself
Is this still an issue on the latest version?
Sorry, I don't have time to try the latest version recently. Maybe it would be better to close this issue.
Ok - closing issue until reported on latest version
kp::Algorithm::setPushConstants(const std::vector& pushConstants) can not compile success.
compiler context : windows 10 x64, VS2017 x64