Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Program scope variable initialization is slow #582

Copy link
Copy link

Description

@pjaaskel
Issue body actions

The current way of initializing the shadow buffers associated with program scope variables is quite slow as it uses only a single work-item. It also uses memcpy for zero initialized objects although it could use memset which might be a bit faster.

The better way should be to generate memcpy and fillbuffer CL/LZ commands instead of calling the shadow kernel as they might in the end use DMA engines, if available on the platform.

Reactions are currently unavailable

Metadata

Metadata

Assignees

Labels

performancePerformance optimization ideas and features.Performance optimization ideas and features.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

Morty Proxy This is a proxified and sanitized view of the page, visit original site.