Coder Social home page Coder Social logo

Support Windows about cudart.jl HOT 8 CLOSED

juliaattic avatar juliaattic commented on August 20, 2024
Support Windows

from cudart.jl.

Comments (8)

timholy avatar timholy commented on August 20, 2024

This would be fantastic. I'm so glad you're going to look into this!

from cudart.jl.

moon6pence avatar moon6pence commented on August 20, 2024

Succeeded in passing testcases in windows: https://github.com/khkim2/CUDArt.jl/commit/4582e77eb593b88cd0dc08d73b5ecb22d3e1b9ad

It is just passing testcase in "certain" environment. I will cover some more CUDA Toolkit versions and research how other Julia packages are doing in Windows.

  • It seems that there's no way to use nvcc in mingw, so we have to build ptx files and wrapcuda.dll in VS2012 native tools command prompt.
  • wrapcuda.c: __declspec( dllexport ) was required to export functions in DLL.

I will write nmake files for building wrapcuda and ptx files instead of build_*.bat files.

from cudart.jl.

timholy avatar timholy commented on August 20, 2024

Very nice! Whenever you're ready, just submit as a PR.

from cudart.jl.

moon6pence avatar moon6pence commented on August 20, 2024

Hello, I'm back.
I'm sorry that I just threw issue and did nothing yet.

Recently my work is aim to julia and I have chance to dig up again.
I hope that there's some updates soon.

from cudart.jl.

timholy avatar timholy commented on August 20, 2024

That will be great, glad to hear it!

Presumably you know about https://github.com/maxruby/OpenCV.jl, since (if I remember correctly) that was another of your interests.

from cudart.jl.

moon6pence avatar moon6pence commented on August 20, 2024

Yes, I have been watching mailing lists and very excited to hear that.

Support OpenCV GPU functions with CudaArray will be another possible issues, too.
I used to mix CUDA kernels and OpenCV GPU functions while implement image processing algorithms in C++.

from cudart.jl.

moon6pence avatar moon6pence commented on August 20, 2024

https://github.com/moon6pence/CUDArt.jl/commits/support_windows

It works well with Visual Studio 2013 and CUDA 6.5, involve build.jl. Pkg.build("CUDArt")
As I said, visual studio command prompt is required because we cannot use nvcc in mingw.

I would decide support how many versions of VS (maybe 2010, 2012, 2013) and CUDA.

from cudart.jl.

timholy avatar timholy commented on August 20, 2024

Cool! Certainly one of the things we probably both need to do is make it work for different paths---as you say, it seems especially important not to require a specific version of VS.

But this looks very close, so please do submit as a pull request when you feel ready.

from cudart.jl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.