CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Feb 2018
    Posts
    3

    How do I integrate Cuda with C++?

    How do I integrate Cuda with C++?

    Like. at a high level, what needs to happen? Because I have this function here and it's taking 3 arguments. and apparently this kecca thing is like md5. They just want to compute the kecca with the gpu.

    I just have a feeling that there's not gonna be a simple function that's says

    "sendToGPU(none,ethAddress,challengeNumber)"

    I don't think it's that easy.
    well. so here's what I got though.

    There is this Cuda thing. Some type of .cu file, never heard of it.
    but apparently it's supposed to help send things over to the GPU.

    So my question is this. At a high level, what is it that Cuda does to help make this function reach the gpu

  2. #2
    Join Date
    Feb 2018
    Posts
    3

    Re: How do I integrate Cuda with C++?

    "our main goal is to get the bindings.gyp file correct so that we can add 'import cuda.h' to gpumineralpha.cc and have it still compile with 'npm run build'

  3. #3
    Join Date
    Feb 2017
    Posts
    677

    Re: How do I integrate Cuda with C++?

    Quote Originally Posted by SalsaSavage View Post
    There is this Cuda thing.
    Faced with an unfamiliar sub-system I always first try out the simplest "Hello World" example there is in the download just to have a working starting point for further investigation.

  4. #4
    Join Date
    Feb 2018
    Posts
    3

    Re: How do I integrate Cuda with C++?

    You're right. I shouldn't have posted this. I was just desperate and in a horrible rush.
    I still need this account though. Great place

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured