Archive for the ‘gpu’ Category

More OpenCL introductions

http://www.x.org/wiki/Events/XDC2013/XDC2013TomStellardCloverStatus/XDC2013TomStellardCloverStatus.pdf

and the video is here:

http://www.phoronix.com/scan.php?page=news_item&px=MTQ2OTQ

OpenCL history:

http://image.slidesharecdn.com/kite-opencl-course-141010090714-conversion-gate01/95/hands-on-opencl-19-638.jpg?cb=1413191038

Both the internals of OpenCL and “Clover” (OpenCL over Gallium) history are explained.

Here below are further development from Apple:

http://support.apple.com/en-us/HT202823

Classic sequence of calls:

clGetPlatformIDs ( [ . . . ] ) ;

clGetDeviceIDs ( [ . . . ] ) ;
clCreateContext ( [ . . . ] ) ;
clCreateCommandQueue ( [ . . . ] ) ;
clCreateProgramWithSource ( [ . . . ] ) ;
clBuildProgram ( [ . . . ] ) ;
clCreateKernel ( [ . . . ] ) ;
clCreateBuffer ( [ . . . ] ) ;
clSetKernelArg ( [ . . . ] ) ;
clEnqueueNDRangeKernel ( [ . . . ] ) ;
c l F i n i s h ( [ . . . ] ) ;
clEnqueueReadBuffer ( [ . . . ] );

http://people.freedesktop.org/~nh/piglit/

OpenCL vs OpenGL Compute Shaders:

https://www.opengl.org/discussion_boards/showthread.php/180692-OpenGL-Compute-Shaders-vs-OpenCL

http://gamedev.stackexchange.com/questions/64061/implementing-algorithms-via-compute-shaders-vs-pipeline-shaders

http://www.pouet.net/topic.php?which=9095

https://www.linkedin.com/groups/Using-GLSL-Shader-from-OpenGL-1729897.S.203326291

Libclc implementation:

http://libclc.llvm.org/

http://blog.jholewinski.org/llvm-3-0-ptx-backend/

http://www.wenda.io/questions/484488/how-to-use-clang-to-compile-opencl-to-ptx-code.html

Current status of OpenCL in Nouveau (http://en.wikipedia.org/wiki/Nouveau_%28software%29):

http://dri.freedesktop.org/wiki/GalliumCompute/

From http://www.phoronix.com/scan.php?page=news_item&px=MTgwODA:

(AMD development on OpenCL “AMDGPU”)

image.php?id=0x2014&image=amd_amdgpu_5_show&w=1920

Accelerating a climate physics model with OpenCL

http://saahpc.ncsa.illinois.edu/11/presentations/zafar.pdf

https://devtalk.nvidia.com/default/topic/521004/opencl-opengl-interop-4-5x-slower-than-cg-shaders-performance-issues-with-opencl/

http://ebiquity.umbc.edu/_file_directory_/papers/630.pdf

Good overview:

http://www.slideshare.net/vladimirstarostenkov/hands-on-opencl

Advertisements

A study on Shaders /GLSL

http://stackoverflow.com/questions/4200224/random-noise-functions-for-glsl

http://stackoverflow.com/questions/6478342/glsl-interlacing

http://stackoverflow.com/questions/10652862/glsl-semaphores

https://www.opengl.org/documentation/glsl/

http://blog.lwjgl.org/ray-tracing-with-opengl-compute-shaders-part-i/

http://www.cse.chalmers.se/edu/year/2011/course/TDA361/Advanced%20Computer%20Graphics/deferredshading2012.pdf

http://web.engr.oregonstate.edu/~mjb/cs475/Handouts/compute.shader.1pp.pdf

Shader vs OpenCL:

https://devtalk.nvidia.com/default/topic/468883/ray-tracing-glsl-vs-cuda-opencl/

https://devtalk.nvidia.com/default/topic/521004/opencl-opengl-interop-4-5x-slower-than-cg-shaders-performance-issues-with-opencl/

http://www.pouet.net/topic.php?which=9095

http://gamedev.stackexchange.com/questions/64061/implementing-algorithms-via-compute-shaders-vs-pipeline-shaders

https://www.linkedin.com/groups/Using-GLSL-Shader-from-OpenGL-1729897.S.203326291

http://stackoverflow.com/questions/11838246/rendering-particles-should-i-learn-shader-or-opencl

https://www.opengl.org/discussion_boards/showthread.php/180692-OpenGL-Compute-Shaders-vs-OpenCL

http://www.java-gaming.org/index.php?topic=25613.0

OpenCL internals

https://www.khronos.org/opencl/

https://www.khronos.org/registry/cl/sdk/2.0/docs/OpenCL-2.0-refcard.pdf

https://www.khronos.org/registry/cl/specs/opencl-2.0-openclc.pdf

https://www.khronos.org/files/opencl-1-2-quick-reference-card.pdf

https://www.khronos.org/registry/cl/specs/opencl-2.0.pdf

http://www.slideshare.net/Khronos_Group/opencl-20-reference-card

https://www.khronos.org/registry/cl/

https://www.khronos.org/registry/cl/sdk/2.0/docs/man/xhtml/

http://stackoverflow.com/questions/11029363/passing-array-to-function-parameter-in-opencl

https://developer.apple.com/library/mac/documentation/Performance/Conceptual/OpenCL_MacProgGuide/XCodeHelloWorld/XCodeHelloWorld.html#//apple_ref/doc/uid/TP40008312-CH10-SW7

https://developer.apple.com/library/mac/documentation/Performance/Conceptual/OpenCL_MacProgGuide/XCodeHelloWorld/XCodeHelloWorld.html#//apple_ref/doc/uid/TP40008312-CH10-SW2

https://www.khronos.org/registry/cl/sdk/2.0/docs/man/xhtml/

Learning all about Gallium3D

http://www.freedesktop.org/wiki/Software/gallium/

http://cgit.freedesktop.org/piglit

http://people.freedesktop.org/~marcheu/fosdem09-g3dllvm.pdf

http://www.toulibre.org/pub/2012-11-24-capitole-du-libre/slides/peres-gpu-introduction.pdf

https://tspace.library.utoronto.ca/bitstream/1807/43248/1/Miretsky_Evgeny_201311_MASc_thesis.pdf

http://en.wikipedia.org/wiki/Gallium_Compute_Project

http://www.slideshare.net/ennael/kr2014-nouveau

http://www.freedesktop.org/wiki/Software/gallium/GAOnlineWorkshop/

Good overview:

www.freedesktop.org/software/gallium/GAOnlineWorkshop/Gallium3DOverview.mp4

http://www.freedesktop.org/software/gallium/GAOnlineWorkshop/Gallium3DComponents.pdf

https://tthtlc.wordpress.com/2014/10/13/learning-about-linux-graphics-stack/

http://www.freedesktop.org/wiki/Software/gallium/

http://www.phoronix.com/scan.php?page=article&item=amd_r300g_slow&num=2

http://gallium.readthedocs.org/en/latest/
====>https://media.readthedocs.org/pdf/gallium/latest/gallium.pdf

http://en.wikipedia.org/wiki/Free_and_open-source_graphics_device_driver

http://upload.wikimedia.org/wikipedia/commons/thumb/f/fe/Gallium3D_example_matrix.svg/220px-Gallium3D_example_matrix.svg.png
https://github.com/curro/llvm/commit/a1aad41463c36220f2c5b03645843f39e6bf1b9d

http://www.phoronix.com/scan.php?page=article&item=amd_r300g_slow&num=2

OpenGL/OpenCL/GPU internals

http://en.wikipedia.org/wiki/Free_and_open-source_graphics_device_driver

2000px-Linux_kernel_and_OpenGL_video_games.svg.png

http://stackoverflow.com/questions/7907510/opengl-vs-opencl-which-to-choose-and-why

2000px-Gallium3D_vs_DRI_graphics_driver_model.svg.png

TGSI — Gallium 0.4 documentation

http://gallium.readthedocs.org/en/latest/tgsi.html

http://www.freedesktop.org/wiki/Software/gallium/

http://stackoverflow.com/questions/15868498/what-is-the-difference-between-opencl-and-opengls-compute-shader

http://www.slideshare.net/ennael/kr2014-nouveau

kernel-recipes-2014-the-linux-graphics-stack-and-nouveau-driver-7-638.jpg?cb=1411929869
kernel-recipes-2014-the-linux-graphics-stack-and-nouveau-driver-4-638.jpg?cb=1411929869

Learning about Linux graphics stack

As covered before: https://tthtlc.wordpress.com/2013/09/24/linux-graphics-gpu-x-wayland-architecture/

and this: https://tthtlc.wordpress.com/2014/01/17/how-linux-video-worked/ here are more recent articles i have read:

http://streamcomputing.eu/knowledge/sdks/vivante-gpu/ http://blog.mecheye.net/2012/06/the-linux-graphics-stack/

http://blogs.igalia.com/itoral/2014/07/29/a-brief-introduction-to-the-linux-graphics-stack/

http://magcius.github.io/xplain/article/ http://lwn.net/Articles/300066/ http://lwn.net/Articles/296444/

http://dri.freedesktop.org/wiki/

DRI driver initialization process:

http://dri.freedesktop.org/wiki/libGLDriver/

http://en.wikipedia.org/wiki/Mesa_(computer_graphics)

How Linux video worked?

http://www.x.org/wiki/Development/Documentation/HowVideoCardsWork/

http://manpages.ubuntu.com/manpages/raring/man7/drm-kms.7.html

https://www.kernel.org/doc/htmldocs/drm/drm-kms-init.html

https://sites.google.com/a/jnslife.com/www/Boring/x-windows-system/how-video-cards-work

http://blogs.igalia.com/vjaquez/2012/06/20/a-gstreamer-video-sink-using-kms/

http://gstreamer.freedesktop.org/data/events/gstreamer-conference/2012/omap-dmabuf-gstcon2012.pdf

Linux DRM Developer’s Guide

http://landley.net/kdocs/htmldocs/drm.html

How support for new ASIC is done:

http://www.botchco.com/agd5f/?m=201004

Understanding GPU from ground up: http://www.botchco.com/agd5f/?p=50

Notes about radeon display hardware: http://www.botchco.com/agd5f/?p=51

Linux DRM Mode-Setting API: http://dvdhrm.wordpress.com/2012/09/13/linux-drm-mode-setting-api/

http://blogs.igalia.com/vjaquez/2012/06/20/a-gstreamer-video-sink-using-kms/

%d bloggers like this: