quantalea / AleaTK

Library for general purpose numerical computing and Machine Learning based on tensors and tensor expressions.
http://www.aleatk.com
Apache License 2.0
75 stars 25 forks source link

Launching kernel error #12

Open janjanusek opened 6 years ago

janjanusek commented 6 years ago

Hello I'm working on ML code with alea gpu. Interesting thing is that when I try to run my code on my laptop everything is working fine except is too slow. When I want to run my code on second PC with more powerful GPU it's crashing on exception:

System.Exception was unhandled
HResult=-2146233088
Message=Error opening outputfile 'C:\Users\Ján Janušek\AppData\Local\Temp\tmp64C4.tmp': No mapping for the Unicode character exists in the target multi-byte code page
Source location stack:
-> at defining runtime64 (sm61,64bit)
Loading method as kernel:
-> Method: AI_test.NeuralNet.Gpu.Activations.Hyperbolic.[VoidGpuActivationKernel(Single[,], Single[], Single[])]
-> InstanceOpt: AI_test.NeuralNet.Gpu.Activations.Hyperbolic
-> Argument.#0: System.Single[,]
-> Argument.#1: System.Single[]
-> Argument.#2: System.Single[]
Getting or loading method as kernel:
-> Method: AI_test.NeuralNet.Gpu.Activations.Hyperbolic.[VoidGpuActivationKernel(Single[,], Single[], Single[])]
-> InstanceOpt: AI_test.NeuralNet.Gpu.Activations.Hyperbolic
-> Argument.#0: System.Single[,]
-> Argument.#1: System.Single[]
-> Argument.#2: System.Single[]

Source=Alea Stack trace show me that is crashing on this code:

GpuDevice.Launch(_guessKernelFunc, GuessLaunchParam, Neurons, Input, Output);

But I'm sure that is working just fine on my laptop so do I miss something is it cause by PC settings or something? I have installed Cuda 8.0. I tried before Cuda 9.0 but because I had the same error I tried to replace with older 8.0 version which I use on my laptop but it didn't help.

Second question is Does somebody know how to make compiller to cache my kernel and not generate new GPU code every time I try to load the same static kernel? I tried to look at sample but it's not clear to me.