Results 1 to 6 of 6

Thread: Visual Studio - OpenCL

  1. #1
    Junior Member
    Join Date
    Dec 2017
    Posts
    2

    Visual Studio - OpenCL

    Hello,
    can anybody help me? I'm trying to compile and run some OpenCL codes in Visual Studio.
    I have not been successful so far. Worse, my video card burned.

    Current specifications of my PC (without offboard video card):
    Windows 8.1 Pro 64-bit
    Intel Core 2 Quad CPU Q6600 @ 2.4GHz, 4.0GB RAM, Intel G33 / G31 Express Chipset Family

    With these specifications I can program in OpenCL in Visual Studio?
    What do I need to do? I'm totally lost.

    If it is not possible in Visual Studio, is there any way I can get OpenCL on my machine?

    Thanks in advance for your help and attention.

  2. #2
    Senior Member
    Join Date
    Apr 2015
    Posts
    306
    You can install AMD APP SDK, its CPU driver is pretty much vendor agnostic. And it comes with ton of examples.

  3. #3
    Newbie
    Join Date
    Dec 2017
    Posts
    1
    Hi Salabar, so this software works for both AMD and Intel CPUs? Did I get that right?

  4. #4
    Senior Member
    Join Date
    Apr 2015
    Posts
    306
    Yes. They use basically stock LLVM code generator as far as I can tell.

  5. #5
    Junior Member
    Join Date
    Dec 2017
    Posts
    2
    I'm sorry for my ignorance, but how do I write opencl programs in Visual Studio using AMD APP SDK?
    When I choose a new project, in the Visual C++ list, the OpenCL option does not appear.

  6. #6
    Senior Member
    Join Date
    Apr 2015
    Posts
    306
    Go to Start, type AMD APP SDK and find a folder with samples. Then you'd have to copy project settings from one of the projects or simply hack hello world sample to your liking.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean