GPUOcelot
Public Member Functions

test::TestDeviceSwitching Class Reference

A unit test for the ability of the CUDA runtime to switch between devices and use multiple threads. More...

#include <TestDeviceSwitching.h>

List of all members.

Public Member Functions

 TestDeviceSwitching ()
 The constructor sets the description.

Detailed Description

A unit test for the ability of the CUDA runtime to switch between devices and use multiple threads.

Test Points: 1) In a single threaded application, iterate across all devices launching the same simple kernel each time 2) Test context migration support in ocelot. Iterate across all devices, launching a simple kernel that updates shared variable. Use the context switch mechanism to migrate the shared data. 3) Test multi-threading support. Launch one host thread to allocate memory, pass pointers to worker threads, each of which should launch independent kernels in parallel.


Constructor & Destructor Documentation

test::TestDeviceSwitching::TestDeviceSwitching ( )

The constructor sets the description.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines