Programming CUDA without a graphics card? Are there (good) emulators? [closed] - windows-7

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
Are there any good emulators for CUDA on Windows7 (64 bit) which wouldn't cause any compatibility problems?
I would also like to know the procedure to install the emulator.
Thanks in advance.

See:
Ocelot
The website states:
Ocelot currently allows CUDA programs to be executed on NVIDIA GPUs, AMD GPUs, and x86-CPUs at full speed without recompilation.
Keep in mind that CUDA was designed for GPU. Running on a CPU will drop performance significantly.

The emulation mode is not supported by the latest version of cuda toolkit.
What I do for my work is, use the cuda sdk 2.3 and cuda toolkit 2.3 (it is pretty old, but suffices my work)
You can find the cuda toolkit 2.3 here: http://developer.nvidia.com/cuda-toolkit-archive
Compile the code using the "-deviceemu" flag.
If you are accustomed to using cuda specific make files, you can compile the code using "make emu=1"
This way the binary can be run on any machine without GPU.
Of-course, the execution efficiency is very low!
Once the code is doing what I want it to do, I deploy it in the lab machine and compile it with CUDA 4.0.
PS: you may sometimes lose out on the features provided by latest CUDA toolkit.

Related

How to make a native windows application? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I do most of my development for the Android platform, and have developed applications for Windows in the past too. However, when I have developed windows applications, I've always used the .NET framework. This requires the end user to have the .NET framework installed on their machine.
What programming languages and associated tools can I use to create an application that will run on a windows PC (XP and greater) (other operating systems are welcome) with no need to have frameworks such as .NET and Java installed first?
Many thanks, Todd
Most Ms Windows apps are developped with C++ (or C), accessing to Win32 API for GUI for example. You may also use some other languages that compile to x86 code and are able to access to regular Win32 DLLs if you need them (for input, GUI, etc., see Win 32 API), like Pascal.
The second most used tool to build MS Windows applications with some forms must be VB up to VB 6 (that is, before VB.net), then probably Delphi.

Can we create Custom Operating system that supports any application? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
Can I create a custom operating system that supports both Windows and Linux applications?
How can I do that and what knowledge should I have?
Is this a good start?
Thanks.
This can kind of be done though using Linux and Wine however it is not perfect.
The issue is Windows is not open source and is VERY big so it is not very easy to perfectly emulate what that operating system is doing behind the scenes. This is especially hard with undocumented API calls many programs like to use on Windows.
I do not know of anything that lets you run Mac on Linix without using a VM.
It is very unlikely there will ever be "one OS to rule them all" but with tools like Wine and using virtualization with things like VMWare's Unity Mode to give the affect of another OS's program running on your system.

How to get started with Linux kernel development [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I'm an android developer and I've been doing ROMs for a long time and I wanna get going with kernel development, I understand it's relating to linux kernel itself and got nothing to do with android.
Problem is I can't find any online resources to help me get going.
So what I'm looking for is something a bit official, like the developer site for android,the java tutorials for java, the python tutorials........etc
Is there any thing like that? from linux.org maybe, but I can't find anything on their site.
And what are the things I'm supposed to have a full understanding of? like programming languages (I know it's in C) or anything else?
Keep in mind that I'm only looking to learn driver configuration and compilation.
Linux Kernel Newbies, imho, is the best resource for who wants to start in linux kernel development.
Maybe you are interested to buy a book:
Linux Kernel Development 3rd edition 2010;
Understanding the linux kernel 3rd edition 2005;
Linux Device Drivers 3rd edition 2005.
Free resources (only a few of them):
Linux Kernel Hacking;
Hacking the Linux 2.6 kernel, Part 1: Getting ready;
Hacking the Linux 2.6 kernel, Part 2: Making your first hack;
Kernel coverage at LWN.net;
Unreliable Guide To Hacking The Linux Kernel;
The newbie's guide to hacking the Linux kernel;
vger.kernel.org - list services for the linux kernel developers
Your best bet is following a good book like Linux Device Drivers 3, which is freely available as online document on LWN. There are tiny kernel modules skeleton which will help you get started very quickly.

Guidance for making a program with only pure assembly on Mac OS X? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I have realized I have to study Assembly language to understand programming deeply during trying to implement coroutine.
So I decided to start study Assembly. I want to start this by making small programs with only pure assembly. What's required and where should I start from? Easy Tutorials? Any guidance would be appreciated. Thanks.
PS.
I'm using Mac OS X 10.6 on iMac Core i5 machine.
MIPS is a nice and short instruction set.
Nothing fancy to get in your way.
MIPS Emulators
SPIM was a classic emulator used for years. Some useful info here.
Mars looks promising and runs in java.

Are there any IDA Pro alternatives? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
Are there any disassembler which provide a feature set comparable to IDA Pro?
I'm interested in both free and commercial products. Please use one answer per product and if possible write a short comment about it, like "easy to use", "many features", "only support for PE files", ...
Not to my knowledge. IDA Pro is clearly the best disassembler around. To the point that even the free (old) version of IDA (4.9) doesn't have a real challenger.
For the sakes of providing a comparison, you might want to try PVDasm
IDA Pro is a commercial licensed product and so has the funding to put the advanced features in place like graphing of jumps. There is also free version of IDA, although I'm not sure what functionality has been removed.
A free alternative is OllyDbg. Another is PEBrowse Professional Interative, but I haven't used this one yet.
In all honesty, IDA Pro is worth it, if you are seriously considering a debugger/reverse engineering tool. There isn't anything like it whatsoever on the market.
Hope this helps,
Dominic
If you're using a Mac, you should consider Hopper.
Note: IDA Pro now (as of 6.0+) supports a native solution on OS X

Resources