Comments (15)
@scherenhaenden It looks like you are trying to use version 0.3 (which has native dependencies). This version is based on LLVM and only supports Windows and Ubuntu 14.04. Try v0.4-beta or the upcoming v0.5-beta which provides cross-platform support.
from ilgpu.
The reason ILGPU does not support .NET Standard 2.0 is because ILGPU relies on the System.Reflection.Emit.ILGeneration package, which is currently not (correctly) supported on all .NET Standard compatible platforms. For more information, visit https://github.com/dotnet/corefx/issues/29365 and https://github.com/dotnet/corefx/issues/30654
There are basically two possibilities:
- Create an ILGPU package that pretends to be .NET Standard 2.0 compatible, but one of its dependencies is not.
- Wait until the dependency is fully compatible before claiming full compatibility with the .NET standard.
from ilgpu.
I want to ask one more question. I just do not aware about ability to target netcoreapp2.0
libraries from netcoreapp2.1
. If this is possible, I personally would not be affected in any way, if not, then I would ask for targeting of multiple frameworks. Even if it is targeted, maybe it would be practical to include into samples, that this library could be used from netcoreap2.1
project.
from ilgpu.
I don't see any problems using .netcoreapp2.0
libs from netcoreapp2.1
apps or libraries. This should work without any further problems (in theory).
from ilgpu.
Hello.
I got almost the same issue but the other way around. I get from nuget only the .netstandard version, not the .netframework version
from ilgpu.
@scherenhaenden 0.3.0 version was netstandard2.0
which allow it to run under net47
0.4.0-beta would be netcoreapp2.0
(which is different from netstandard) and that make it run only on netcoreapp2.0
, netcoreapp2.1
and netcoreapp3.0
(when it will be published). So your application should target at least netcoreapp2.0
now.
Given the MS stance on full .NET, it is reasonable to move all applications on .NET Core instead of creating them on .NET framework.
from ilgpu.
@scherenhaenden , @kant2002
Well, from what I tested : the .netstandard nuget package of ILGPU 0.3.0 is usable from a net47 application. The nuget package of ILGPU 0.4.0-beta includes two builds : netcoreapp2.0 and net47. It is usable from a net47 application too.
from ilgpu.
Thanks for correcting me @samy2 the netcoreapp2.0
and net47
both supported. I'm more concentrated on .NET core workloads so do not care about net47
monikers, so I miss that. Dropping .NET framework is off-topic from my side, so @scherenhaenden sorry for potential confusion.
from ilgpu.
Hi,
thanks for your fast answer. It appears to be impossible to us it on Linux. At least, I get this error with the Assembly LLVM that appearst o be a badimage. I just discover this project today. I'll be trying to solve that issue when I get more time btu for now, I cannot use it.
Anyhow i made it work on dotnetcore (that the DLLs won't yell). Maybe tomorrow I'll see the other thing with bad assembly image.
from ilgpu.
@m4rs-mt thanks a lot for that Info. I'll be trying the next days
from ilgpu.
@m4rs-mt
Hi!
I cloned your project, very nice of you doing all of this alone. I just wanted to mention that i cannot build it on Linux because it can be only built over VS.
I don't know if you need some kind of feedback on this. Just let me know and I would try to help you.
from ilgpu.
@scherenhaenden Have you tried using the dotnet build
command to build the project for .Net Core under Linux? Alternatively, you can use the nuget package v0.4-beta which contains a ready-to-use .Net Core build.
from ilgpu.
Thanks a lot... I had been looking for v0.4... and got 404...
I'll be trying to get some time free this week to try that ;)
from ilgpu.
The mentioned issues were closed and already updated versions with .Net Standard 2.0 support are available as beta. As soon as the packages are stable I will add the .Net Standard 2.0 support as well.
from ilgpu.
.Net Standard 2.1 support is now available. Special thanks to @MoFtZ 👍
I will close this issue now, as the next release will provide the desired .Net Standard support.
from ilgpu.
Related Issues (20)
- Intel GPUs ,float64 type is not supported on this device HOT 5
- Are vector data types supported? HOT 3
- A Tensor Library HOT 6
- VelocityDevice and MaxGridSize HOT 3
- Sample of "AlgorithmsRadixSort" failed on OpenCL device HOT 4
- `NullReferenceException` when passing empty `ArrayView`s to OpenCL kernel HOT 1
- XMath.Pow() only work on CPU HOT 3
- Better error messages when kernel program failed to run. HOT 1
- Is it possible to use a stored dataset on GPU again and again with throwing extra data to GPU, and even change the value of the established dataset? HOT 1
- Add a CPU-GPU-Shared MemoryBuffer for systems that support it HOT 2
- Iteration of value with loops on GPU slows down significantly HOT 5
- Feature request: cudaStreamWaitEvent HOT 7
- Higher precision float (decimal) support? HOT 2
- Passing Int128 as kernel parameter is not working HOT 3
- System.BadImageFormatException in System.Reflection.Metadata.dll HOT 4
- OpenCL.CLException HOT 2
- [QUESTION]: Exception in Accelerator.Synchronize on CUDA HOT 2
- [BUG] Cuda 12 SDK not supported with ILGPU 1.5.X HOT 2
- [POTENTIAL BUG]: CopyToCpu is using refs in unsafe way but there is no indication of that. HOT 2
- [BUG]: Unit tests failing on GitHub runner with MacOS 14 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ilgpu.