Project

General

Profile

Task #3315

Feature #3311: GPU infrastructure development

Feature #3313: Introduce and use opaque types for the DeviceStream and DeviceContext

Platform agnostic DeviceContext

Added by Artem Zhmurov about 1 month ago. Updated 25 days ago.

Status:
In Progress
Priority:
Normal
Assignee:
Category:
-
Target version:
Difficulty:
uncategorized
Close

Description

Introduce opaque DeviceContext data type

Code:
1. https://gerrit.gromacs.org/#/c/gromacs/+/15597/ - Make OpenCL DeviceVendor into enum class and move to GPU traits.
2. https://gerrit.gromacs.org/#/c/gromacs/+/15599/ - Move DeviceInfo into GPU traits.
3. https://gerrit.gromacs.org/#/c/gromacs/+/15600/ - Make DeviceContext into a proper class.
4. https://gerrit.gromacs.org/#/c/gromacs/+/15657/ - Make use of non-default constructor of DeviceContext.
5. https://gerrit.gromacs.org/#/c/gromacs/+/15658/ - Take over management of OpenCL context from PME and NBNXM.

Associated revisions

Revision ca9c6942 (diff)
Added by Artem Zhmurov 20 days ago

Make OpenCL DeviceVendor into enum class and move to GPU traits

The device context in OpenCL requires the information on vendor when
constructed. To prepare for opaque DeviceContext, the vendor
enum was moved into OpenCL traits.

Refs. #3311, needed for #3315.

Change-Id: Iec22ff17543b6a99407048de6e0cd82bb7218fb0

Revision e742ad10 (diff)
Added by Artem Zhmurov 20 days ago

Move DeviceInfo into GPU traits

The DeviceInfo is needed upon construction of DeviceContext. To
prepare for opaque DeviceContext type, it is moved to GPU traits
and renamed according to the common naming scheme.

Refs. #3311, needed for #3315.

Change-Id: I2a9f1d932f142d645df75901521a734d208de509

History

#1 Updated by Artem Zhmurov about 1 month ago

  • Tracker changed from Feature to Task
  • Assignee set to Artem Zhmurov
  • Target version set to 2021

#2 Updated by Artem Zhmurov about 1 month ago

  • Status changed from New to Accepted

#3 Updated by Artem Zhmurov about 1 month ago

  • Target version changed from 2021 to 2021-refactoring

#4 Updated by Artem Zhmurov 25 days ago

  • Description updated (diff)

#5 Updated by Artem Zhmurov 25 days ago

  • Status changed from Accepted to In Progress

#6 Updated by Artem Zhmurov 25 days ago

  • Description updated (diff)

Also available in: Atom PDF