visual_debugger
visual_debugger copied to clipboard
It would be nice to have a code editor to inject live Halide code into the debugger (using the good-old dll/shared-object hack).
Sub-tasks: - **[negligible impact]** eliminate duplicates in the input buffer collection (`FindInputBuffers`) - **[substantial impact]** only reset the device interface of input buffers when the `DeviceAPI` of the target changes;...
Useful snippets: ``` auto glGenerateMipmap = (void(*)(GLenum))glfwGetProcAddress("glGenerateMipmap"); assert(glGenerateMipmap); ``` ``` glBindTexture(GL_TEXTURE_2D, idTex); glTexImage2D(GL_TEXTURE_2D, ...) glGenerateMipMap(GL_TEXTURE_2D); glBindTexture(GL_TEXTURE_2D, 0); ```
Instead of the current filesystem-like tree, consider using something similar to a frame scrubber. examples: http://developer.download.nvidia.com/assets/cuda/images/toolsscreenshots/nsight_profiler.png https://github.com/mikesart/gpuvis http://richg42.blogspot.com/2015/02/a-telemetry-style-visualization-of.html https://www.youtube.com/watch?v=UzEP4Q8MV3k
- **[easy]** min-max reduction normalization (a.k.a. "automatic" range normalization), like in RenderDoc - **[medium]** histogram visualization to aid in the manual min/max range selection - **[very hard]** provide the ability...
Check to see if our tool is capable of visualizing RDom expressions in meaningful ways. Trying to visualize an RDom Var crashes the application; must investigate how to visualize them.
Visualizing update definitions turns out to be challenging due to design choices in Halide. Quoting Andrew Adams on Halide gitter: "When you call a Func, you get the final version...
Expressions like select and assert operate on booleans. We can come up with a special visualization mode where false is shown as red, and true is shown as green (or...