Google App Engine,Web 2.0,free office download,Jailbreaking iPhone 3Gs,Apple rumors,free downloads,linux download,ubuntu download,Free Software,unlock iPhone 3G,unlock iPhone 3Gs, jailbreak iphone, ipod touch, apple news, programming tutorials
by on September 16th, 2013

Many times you would have come across a problem, in which some data has to be saved in a file repeatedly, say in a loop or something. If the data is different for each iteration, it would be desirable to create a new file for each different data. Let us take a case, for instance we are iterating over a video file, and we want to write each frame data in different text files like frame0.txt, frame1.txt, frame2.txt…. and so on. The file name would change in each iteration, so how can we change the name of file serially, without involving any user effort.

by on September 12th, 2013

The purpose of CUDA applications is to speed up computation on GPUs.  Coding on CUDA naturally involves timing the application to measure the speedup over CPU counterpart.

To profile a CUDA application, you can either use tools such as NVIDIA NSight and Visual Profiler or you can use timing functions; in this article we will use the later approach. CUDA runtime API calls and kernel launches can be timed accurately using CUDA events available in the toolkit. For stuff other than device code, we use the host timers. The following example demonstrated how CUDA runtime calls can be timed using events.

by on September 12th, 2013

If you are used to the programming GPU applications using CUDA runtime API, and have a clear concept of CUDA architecture, porting the application to OpenCL might be a little bit confusing but not difficult.

To exactly demonstrate the difference between CUDA runtime and OpenCL, a downloadable example of vector addition is attached at the end of the tutorial.

The concept of threads, blocks, and kernels is the same, one of the major differences, however, is how the kernel is launched and the number of API calls required to do so. OpenCL is more or less same as the CUDA driver API, but in this article, we will show how a CUDA runtime equivalent OpenCL program can be written. Following are the terminologies and API calls used in a CUDA runtime application, along with their OpenCL counterparts.

by on September 9th, 2013

I'm sure you have come across C/C++ projects that contain thousands of lines of code, split into many source and header files. Not 5 or 10, we are talking about hundreds or even thousands of files. One of the productivity hits in a software project is the time required to compile these source files. Depending on the amount of code, the time may range from seconds to hours. While some cunning developers may take advantage of this (see the comic below), others may find it frustrating to wait for the compilation to finish.

compiling_funny

by on September 9th, 2013

Many CUDA beginners learn how to write, test and profile CUDA kernels, but most of the times they use randomly generated input data. When it comes to actual real world problem, they are confused how to acquire the input data and process it on the GPU.

In this tutorial, I will show you how to acquire input images on host using OpenCV, then pass that input to CUDA kernel for processing. For this specific tutorial, I will write a basic CUDA function to convert the input color image to gray image. I assume that user has CUDA Toolkit and OpenCV installed in his system. Here’s a good tutorial on setting up OpenCV on your machine with Visual Studio.

We start by writing a CUDA kernel for converting an input BGR image to a gray scale image. Your CUDA kernel will look something like this:

by on September 4th, 2013

OpenCV is a vast Image processing and computer vision library that offers ease and flexibility for programmers. A good thing about the library is that it's neatly divided into different modules based on functionality ranging from basic image processing to advanced computer vision algorithms. As of current version (2.4.6), there are a total of 21 modules in the package.

While the modular approach is good to keep the dependencies minimal, some programmers also find it frustrating to link each of the required module separately with the project. When shipping an end-user-application built with OpenCV, all the libraries needed have to be shipped and some developers are not satisfied with this clutter of shared libraries. This is where OpenCV world module comes in.

by on September 4th, 2013

This is a step by step guide on running a test program that performs simple color conversion via OpenCV GPU module using Microsoft Visual Studio. You can download the sample source file at the end of this tutorial.

Create a new Microsoft Visual C++ project. Add the source file (available at the end of the tutorial) and add it to the project. Currently, the code will not compile, because the paths to OpenCV header and library files are unknown to the compiler. Let's first set environment variables for OpenCV folders in our system for ease of use

Setting Environment Variables

To create environment variables, go to System Properties. In the Advanced tab, click on Environment Variables. Click on New in the User Variables section. Set Variable Name to CV_INC. In the Variable Value box, paste the path of the OpenCV header files directory ( in our case it's D:\opencv\opencv_build\include). Similarly create environment variable for lib and bin folders as:

by on September 4th, 2013

This tutorial will guide you through how to build and use gpu module of OpenCV version 2.4.6 with Microsoft Visual Studio. I have attached a sample source file for Microsoft Visual C++ that simply performs color conversion on GPU using OpenCV. You can download the source file at the end of this post.

OpenCV's  GPU module is a set of classes and functions to utilize computational capabilities of NVIDIA's CUDA capable GPUs. To do so we can either use the pre-built binaries shipped with OpenCV, or we can compile it from scratch. In this tutorial, we will use the latter approach. To compile OpenCV with GPU support, we need A C++ compiler (Microsoft Visual C++, MinGW etc), CUDA toolkit and CMake. For today's tutorial we're  using Microsoft Visual Studio 2010, CUDA Toolkit 5.0, and CMake 2.8.11 and Windows 7 as platform.

by on September 2nd, 2013

Probably the most useful, sizzling and much anticipated update by Android has been released by Google and it is now available at the  Store. Yes! We are talking about Android Device Manager, having a plethora of new slants and most interesting of them all is the lost phone tracking feature. If you have unfortunately lost your phone and looking to trail it, You can track the current phone location by logging in with your Gmail account anywhere. Yes ! I mean anywhere, on PC, laptop or some other Android phone. Android Device Manager takes you to what looks like a Google Maps interface and it will show you  exactly where your phone is going philanderer and junket.

 

adm picture

 

 

by on August 30th, 2013

Nokia was all beefed up to at least put the foot in  the  pond of tech giants and leaders these days because there has been a lag in Nokia’s market performance since some years amid the targeted marketing strategies. As expected, Nokia came all spruced up for the location oriented and navigation facilitation for its customers and here it is, “Here Auto-Navigation System” which can be embedded with Vehicle software and automation system is launched by Nokia. The navigation systems accompanies a Cloud service and a mobile companion app to elevate the productivity and usage.

nokia 1

 

by on August 30th, 2013

Brainstorming some air service for the trip? No other option except Hawaiian Airlines because you will get iPad minis during the flight! Yes, the airline has been generous and tech-oriented enough to announce that its customers will be able to enjoy iPad minis during the flights on its 14 planes starting September 1st. So if you are a tech savvy or not, you must ask for an iPad mini from the air hostess before she  asks you for the food choice or which drink to serve.

ipad

 

by on August 29th, 2013

DropBox is a tool worth having amid the contemporary data storage needs and synching utilities that can make your work easier. You can access and share data, important docs and notes wherever you are using the massive virtualizations of Cloud. However, there are some tools and third party services that can enlarge the productivity of your data sharing through DropBox. Have a look at the following products and services. You will love to grab them at the end of the post. Lets start with the handy service DropItToMe

by on August 29th, 2013

As Microsoft announced the integration of tweaky, interesting and useful apps for Windows 8 mobile platforms, it has released probably the first app that is going to spruce the all interesting mobile paradigm of today. FourSqaure has arrived for Windows 8 but not limited only for check-ins and location buzzing to tell your friends what are you up to or eating tuna fish at some restaurant,  the revamped version for Windows 8 is more like a discovery oriented app that is going to have plethora of features apart from check ins.

Capture

 

by on August 28th, 2013

Social media leaders are taking the competitive race of improving the user sharing experience by storms and Twitter is at the frontiers here. The latest Twitter update enables the users to share the highlighted , selected portions from some story or article directly with the article link, and when your followers will click it, it will take them to the specified shared sentenced or portion instead of the beginning of the article. Its amazing actually and a feature that was much needed because at times, we often want our followers and friends to focus their attention to a specific portion or part of  article instead of the  useless details, so the new Twitter update will let you grab and direct the attention of people towards some rocket science you think as worth reading. 

twitter update

 

by on August 28th, 2013

We don't perceive this news to be much offensive for Apple fans to include a CAUTION or disclaimer at  start but yet, it is perceived to be some kind of offense( funny though). Apple's famous personal assistant SIRI which is known for its sarcastic tones and peculiar traits has started to show some kind of freakish and volley behaviors towards “Google Glass”. Exerts perceive this to be a categorical and onslaught injection of mugging to gain competitive edge, which has been a factor of immense importance both for Apple and Mountain View’s giant, Google.  It's important to note that all these comments are from latest iOS 6,though beta of iOS 7 offers even more Glass-related comebacks. Look at these attacks from SIRI.

 

siri 1