m4rs-mt / ILGPU

ILGPU JIT Compiler for high-performance .Net GPU programs
http://www.ilgpu.net
Other
1.38k stars 117 forks source link

XMath.Pow() only work on CPU #1122

Closed wzhou-grid closed 11 months ago

wzhou-grid commented 11 months ago

The XMath.Pow() only works on CPU. Will there be a GPU version? Thanks.

m4rs-mt commented 11 months ago

Hi @wzhou-grid and welcome to the ILGPU community. Did you enable the algorithms library via builder.EnableAlgorithms() to enable XMath support?

wzhou-grid commented 11 months ago

Sorry I didn't. After enabling the algorithms library, it works now. Thank you very much for the quick response.

m4rs-mt commented 11 months ago

Closing this issue for now, thanks for letting us know that the problem could be resolved.