Project

General

Profile

Feature #2254

GPU extensions for Google Tests

Added by Szilárd Páll over 2 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
mdrun
Target version:
-
Difficulty:
uncategorized
Close

Description

As discussed in the past, we could make use of some compact abstraction layer for GPU framework glue code that wraps boilerplate code required to manage devices, initialization, teardown of contexts, queues, etc. Ideally, this would be a compact base-class which provides the API with CUDA and OpenCL flavors implemented.

As an example for such a class for OpenCL testing see:
https://github.com/clMathLibraries/clBLAS/blob/master/src/tests/BlasBase.cpp

Also available in: Atom PDF