Results 1 to 6 of 6

Thread: Visual Studio - OpenCL

  1. #1
    Junior Member Newbie
    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 Regular Contributor
    Join Date
    Apr 2015
    Posts
    316
    You can install AMD APP SDK, its CPU driver is pretty much vendor agnostic. And it comes with ton of examples.

  3. #3
    Newbie 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 Regular Contributor
    Join Date
    Apr 2015
    Posts
    316
    Yes. They use basically stock LLVM code generator as far as I can tell.

  5. #5
    Junior Member Newbie
    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 Regular Contributor
    Join Date
    Apr 2015
    Posts
    316
    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.

Similar Threads

  1. setting up openCL in visual studio 2010
    By F22raptorski in forum OpenCL
    Replies: 1
    Last Post: 12-04-2014, 04:13 AM
  2. Neural networks in openCl with visual studio
    By javerberg in forum OpenCL
    Replies: 0
    Last Post: 06-22-2013, 08:17 AM
  3. opencl can be used in visual studio 2010?
    By opencl_beginner in forum OpenCL
    Replies: 6
    Last Post: 06-06-2011, 04:52 PM
  4. openCL using visual studio 2008..
    By phoebe0105 in forum OpenCL
    Replies: 0
    Last Post: 04-19-2010, 10:50 AM
  5. Replies: 2
    Last Post: 03-19-2010, 10:55 AM

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