Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 11 months ago.
Improve this question
The title says it all, but to be even clearer: I'm looking for libs / collections of OpenCL C (kernel) code, not libs that use / provide an interface to OpenCL. Also, my interest is not restricted to a specific use case. Therefore the question is intentionally vague.
Ideally, answers provide a name, description and link to projects that provide useful OpenCL C code snippets.
Edit: I will try to consolidate all answers here
Samples from the AMD APP SDK
Samples by NVIDIA
Samples from the Intel FPGA OpenCL SDK
This link Intel FPGA OpenCL SDK says that you can get OpenCL design examples inside Intel SDK.
AMD used to have good code examples. They did work quite well on older AMD GPUs. Here is what I have found:
AMD APP SDK
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
I have a basic question. For microcontroller project , we need a compiler which support that specific microcontroller. But if compiler does not support a specific microcontroller then what does it mean? In other words ''Compiler support this microcontroller '' what it means? Any detailed description will be appreciated.
Thanks
The compiler transforms high level source code into lower level assembly instructions. Different families of CPU cores use different assembly instruction sets. For example, the Intel x86 instruction set is different from the ARM instruction set. A compiler that doesn't support a specific microcontroller cannot transform source code into that microcontroller's assembly instruction set.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
Is there any open source FPE implementation available? I am no cryptography expert but I am aware of the basic concepts behind FPE and I am looking for a generic library which helps me implement FPE for sensitive data such as phone numbers, social security numbers, etc. No strong programming language preference, but robustness of the algorithm and implementation are important.
What I found so far:
libffx (implements FFX in Python, GPL license)
botan (implements FE1 in C++, BSD2 license)
Miracl (implements BPS in C/C++, dual licensing: commercial or AGPL)
but I did not yet personally use them.
Are there any other libraries supporting FPE, or will be in the near future? Which of these or others are recommended and why?
Simple and extendable library on Python https://github.com/emulbreh/pyffx
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I am trying to visualize a VXML file, and have been searching for hours for a free and if possible open-source application, that would run on Windows, despite my intensive search I could not find any application.
Does anyone know a VXML visualizer?
Take a look at the Eclipse Voice Tools Project. This open source tool lets you visually develop a voice application that runs on any VoiceXML 2.1 compatible system. The only problem with this tool, and any other VoiceXML tool, is they store the information as meta-data that is translated to VoiceXML either at deployment or at run-time. This will lock you into a tool vendor since it will not be portable from one tool to another. There are not any tools, open source or commercial, that can take straight VoiceXML and visually represent a higher level abstraction of the voice application.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
Is there any good C/C++ tutorials or examples for learning Intel SSE and AVX instructions?
I found few on Microsoft MSDN and Intel sites, but it would be great to understand it from the basics..
For the visually inclined SIMD programmer, Stefano Tommesani's site is the best introduction to x86 SIMD programming.
http://www.tommesani.com/index.php/simd/46-sse-arithmetic.html
The diagrams are only provided for MMX and SSE2, but once a learner gets proficient with SSE2, it is relatively easy to move on and read the formal specifications.
Intel IA-32 Instructions beginning with A to M
http://www.intel.com/content/dam/www/public/us/en/documents/manuals/64-ia-32-architectures-software-developer-vol-2a-manual.pdf
Intel IA-32 Instructions beginning with N to Z
http://www.intel.com/content/dam/www/public/us/en/documents/manuals/64-ia-32-architectures-software-developer-vol-2b-manual.pdf
In addition, it is important for Intel SIMD programmers to know the minimum required architecture for instructions that are outside the SSE2 generation.
Browsing by generations on Wikipedia:
http://en.wikipedia.org/wiki/SSE3
http://en.wikipedia.org/wiki/SSSE3
http://en.wikipedia.org/wiki/SSE4.1#SSE4.1
http://en.wikipedia.org/wiki/SSE4.2#SSE4.2
Searching for a given Intel SIMD mnemonic on a single page (via a text search):
http://en.wikipedia.org/wiki/X86_instruction_listings
There is a nice introduction here
Code project SSE
Also if you have Microsoft DirectX SDK installed, the source from xnamath has lot of vector/matrix operations using sse intrinsics (check in the sdk include folder, xnamath.h, xnamathconvert.inl, xnamathmatrix.inl ...)
There is some good stuff on Apple's developer site, e.g. SSE Performance Programming.
You might find it useful to look at examples of how SIMD can be applied to some common algorithms. At Games Developer Conference 2011, there was an Intel talk called "Hotspots, FLOPS, and uOps: To-the-Metal CPU Optimization" that attempts to demonstrate SIMD for algorithms common in games. The talk refers to some Intel sample code that shows how AVX can be applied to cloth calculations.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
I've decided to rewrite most of my distributed server programs in Go to replace the existing c# based ones.
Can someone point me to a Go TCP libs or a Go general network programming lib.
Thanks
Edi: ... and how do i complile this code is visual stuido 2008? Thanks
Here's the official API docs for the net package.
Regarding how to compile: See the installation guide. As of yet there doesn't seem to be an obvious way to compile in VS:
The Go tool chain is written in C. To
build it, you need to have GCC, the
standard C libraries, the parser
generator Bison, and the text editor
ed installed.
So in order to develop on Windows, the easiest route would be to use cygwin.
Depending on the needs of your distributed software, you may also want to check out the rpc package which makes it quite easy to register an object's public methods and call them remotely.