- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Is there a method that I can implement a config register in my kernel?
So I can change its value when the kernel task is running and my kernel can do some thing according to this config register.Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I'm not sure what is the best way to do it without stalling the pipeline and/or not continuously reading from global memory and thus eat up your bandwidth, but I have a suggestion for you. You could add a second kernel aside your first which simply communicates with the second via an Altera channel or an OpenCL pipe. You launch this kernel from the host when you want the change to happen, which sends a signal to your first kernel. How does that sound? Carl
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page