You can set two settings to get this work:
Alea.CUDA.Settings.Instance.Resource.AssemblyPath <- __SOURCE_DIRECTORY__ + @"\..\packages\Alea.CUDA.2.x.x.x\private" // the folder where you alea cuda nupkg extracted
Alea.CUDA.Settings.Instance.Resource.Path <- __SOURCE_DIRECTORY__ + @"\bin\release" // the folder where you have write permissions
Alea GPU will first search the natives in your Resource.Path
, if the native (for your platform) is not yet there, Alea GPU will search resource assemblies from Resource.AssemblyPath
, and extract the natives of your platform from the resource assembly to the resource working path.
By default, the resouce path is set to the base directory of your assembly, that is why you see it searchs in the Framework directory. For scripts, you need manually set them.
For more details please reference: http://www.aleagpu.com/release/3_0_3/doc/installation.html