OpenCL (or Other) Programming for ASIC devices? [closed] - c++

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I've recently learned some of the tools of GPGPU and parallel programming (OpenCL, CUDA, C++ AMP, and OpenMP) and have been looking for more things to tinker with.
I know that there are purpose-built USB ASIC devices for fast bitcoin mining ("block eruptor"). Is there a way to program these via OpenCL or another GPGPU-like API? It seems that although they may have been built for a specific purpose, they might have computing power that can be used for other tasks.

I think you are clearly miss-informed and messing things here.
OpenCL, CUDA, C++ AMP, and OpenMP: are programming languages that run into devices that can be programmed (CPU/GPU/FPGA).
ASIC devices are chip (Hardware) designed for a specific purpose. They are fast, cheap, and low power but that is because they have only 1 function (the HW is NOT configurable). The one you designed in the manufacture process.
So, no. You cannot use OpenCL to program an ASIC.

Related

Is there a cross platform C/C++ library that gives us CPU and memory usage stats? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a book, tool, software library, tutorial or other off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I'm looking to find a C/C++ library that gives me system stats like CPU usage and memory usage.
Is there one that works cross platform?
I just don't want to have to re-invent the wheel (badly).
You could use
SIGAR API (C++)
This is an open source library that does basically what your looking for,
but unfortunally there is no platform independent function for this.
If you want one for cross-platforms, ACE has a good one that works for a lot of languages! Note that ACE abstracts the OS in general, and might be heavyweight for what you want.
ACE

Does a software CPU analyzer for Windows Embedded Compact exist? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
Looking for a software logic analyzer for embedded Windows software that lets you visualize and troubleshoot complex target activities. Allows you to see, on a timeline, how tasks, OS, and interrupts interact - who has the CPU, what states are the different tasks in, are my timing requirements met, etc.
Does a software CPU analyzer for Windows Embedded Compact exist?
You can use Kernel Tracker to perform this kind of analysis. You can collect data by enabling celog and the use the tool to visualize the information.
Here:
http://msdn.microsoft.com/en-us/library/ee479601.aspx
you can find some documentation about it in Compact2013 (I'm sorry but it seems that documentation for CE6 and Compact 7 has been hidden so well that even google can't find it!).

What can I use for developing on FPGA (Virtex): C, C++, OpenCL, MPI? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 9 years ago.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Improve this question
What can I use for developing on FPGA Virtex-5 or Virtex-7: C, C++, C++11, OpenCL, MPI?
And what is mostly usually uses for this?
There are:
SystemC is a set of C++ classes and macros which provide an event-driven simulation interface in C++
AutoESL
Vivado HLS - (High-level synthesis)
VHDL (VHSIC(very-high-speed integrated circuits) Hardware Description Language
Software-based system realization with C/C++ and Future plans for OpenCL support
A FPGA is just a big configurable circuit, and developing for it is creating a program that is "compiled" into a gigantic map of how the transistors and other low-level components are configured. It is fundamentally different from a normal CPU, or even a GPU : it is massively parallel at a very low level.
Programming such board requires another way of thinking. There are two main strategies:
Develop with System Verilog, or another HDL (Hardware Description Language),
Use SystemC, or other wrapper that allows you to use C/C++ for FPGA (it will be less optimized)
Normally, the board should come with a manual indicating what to use to program it.
On a personal side, I never used OpenCL with a FPGA (but I used CUDA for GPGPU), so I don't know how it works (but I think you have some overhead, as you have to emulate some small computing units).

Low level programming C/C++ [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I have been programming applications at the higher level for a while now and have just got interested in systems programming. What i want to do is, i want to build an OS (a primitive one) for fun...
But i know nothing about low level programming, i dont know anything about booting and stuff. I just want to know where to start and what to learn, I just started to learn about the booting stuff and filesystems but have no idea how to program them in C(++).
Managing hardware is another issue and i have no idea how to go about programming software to manage hardware..
One final problem is windows, i know how to generate windows in C++ graphics mode by drawing stuff on the screen, but programming languages like Java use things like JFrame to make windows and they basically hire the window style and stuff from the OS, so i dont know how to lend my Window style to the other programs that are running on my computer
Please help me and lead me in the right direction..
Find the text book about Xinu. (Xinu Is Not Unix). It takes you step by step building and operating system in C.

What are the best engines for a 2D indie game? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
What are the best engines for a (small) indie game? I am interested in info about how much does it takes to familiarize self with the engine, special functions et cetera.
In addition, I would like to know what physics engine I should use for this type of game.
Even though I don't know if its the "best" for what your doing but, SDL is pretty good. You can write in C++ with it. It's 2D and good for indies. Plus, its cross platform so its not just limited to PC. Also there's Box2d which is a 2D physics engine in C++.
Just taking a stab. But, you should really clarify exactly what you want to do.
This depends a lot on what you want to do (i.e. genre of game and features). I suggest you check out the canonical http://www.gamedev.net/ which has covered this topic several times (both in articles and forums).
Try this one: http://oxygine.org/
It is modern hardware accelerated framework for 2D C++ games, could be build on top of SDL or Marmalade.