Results 1 to 2 of 2

Thread: Task parallelism

  1. #1
    Junior Member
    Join Date
    Sep 2010
    Posts
    3

    Task parallelism

    I'm trying to parallelize Ant Colony Optimization metaheuristic (http://en.wikipedia.org/wiki/Ant_colony_optimization) with OpenCL, but i don't know how can I enqueue a common C++ function, instead of a kernel. I need this for enqueue my ants.

    Thanks.

  2. #2
    Senior Member
    Join Date
    May 2010
    Location
    Toronto, Canada
    Posts
    845

    Re: Task parallelism

    You can try using a native kernel, clEnqueueNativeKernel, if your CL implementation supports it.

    http://www.khronos.org/registry/cl/s...iveKernel.html
    Disclaimer: Employee of Qualcomm Canada. Any opinions expressed here are personal and do not necessarily reflect the views of my employer. LinkedIn profile.

Similar Threads

  1. GPU parallelism
    By Itun in forum OpenCL
    Replies: 0
    Last Post: 01-04-2012, 12:38 AM
  2. Data Parallelism but with Unknown Iteration Count
    By sean.settle in forum OpenCL
    Replies: 4
    Last Post: 07-07-2011, 03:56 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
  •