m4rs-mt / ILGPU.Algorithms

The new standard algorithms library for ILGPU

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Question: Is it necessary to call context.EnableAlgorithms() to use the algorithm library in the kernel function?

xxl-cc opened this issue · comments

Question: Is it necessary to call context.EnableAlgorithms() to use the algorithm library in the kernel function?
commented

hi @xxl-cc, yes, you should to call EnableAlgorithms.

In theory, some of the functionally in the Algorithms library may work without calling EnableAlgorithms. However, that is an implementation detail - it may change at any time e.g. when a bug is fixed, or when the internals are refactored.

I think this issue has been resolved. If the issue still persists, please open a new issue in the ILGPU project.