Configuring Environment for OpenCL on Ubuntu with Optimus

Leave a comment

Screenshot from 2012-12-02 20:06:05

First of All,

My machine is as follows:

Dell Inspiron notebook N5110 Core i5 with Nvidia GT 525M with optimus technology, This optimus technology is simply the device have two graphics cards, one Intel and the other is the Nvidia one.

This is used to save laptop’s battery by disabling the Nvidia card that is relying on GPUs when low graphics processing is needed and doing that on the intel one, and when high performance is needed the work is done on the Nvidia GPUs are redirected to the intel one after being done.

More

…احب ما تعلمت من

1 Comment

.ابى: قبل ان تسأل عن حال شخص او شئ, ضع نفسك مكانه

.ابى: اللى هياكل على  ضرسه هينفع نفسه

.امى: ان كنت لا تفعل خطأا  فلا تهتم بآراء الناس و سيعلمون من انت

.امى: كن بسيطا

.مروان:  ما دمت مقتنع بما تعمل تحدث بثقه و سيقتنع الناس فى نهايه المطاف

.استاذ مصطفى العلايلى: فكر فيما تقرأ و تذاكر فمن كتبوه غير منزهين عن الخطأ

.مصطفى الفولى: ان اصلى فى اى مكان و ان كان على رصيف فى الطريق

.احمد مدحت: كن ذا مبدأ

.زوجتى: ان ابتسم فى وجه المتسول و اعامله برفق حتى و ان ظننت انه غير محتاج

.دكتور محمد سامى: لا تتحيز لآله او وسيله معينه, ابحث عن الاصلح اينما كان

.دكتور رشدى عامر: تعلم للعلم و ابحث عنه

.حجاج: ليس كل ذا لحيهٍ داعيه, ولا تتبع سوى الدليل

.فؤاد: ان كان مديرك يحب تعديل “كل” ما تصنعه, لا تنسى ان تضع له البطه

…. و ما زال فى الطريق بقيه إن شاء الله

 

FCIS Assignments Submitter (FAS)

9 Comments

And here comes one of the projects I enjoy working in…

This project is somehow similar to that one which is used for FCIS students (the college that I am supposed to be one of its faculty members), And it is used to ease the way we give assignments to students and ease the way they solve it (hoping they solve :D )

First, the main form

And as you can see is divided into 4 parts.

More

A year and a half of cycling

7 Comments

Well..
That has been a good time since I got my first professional -somehow- bike and my third life time one.
Gotta say.. I really enjoy cycling, long distances are what I enjoy the most, and get exhausted the most as well :D
But that’s awesome when you are able to be doing something healthy, specially for devs who work for a week on desk staring in a monitor and the longest distance they move is the maximum length of the mouse wire, yeah it’s a curse having touchpad! :D
Anyway, just wanted to share some experience I had with bikes, where and how to buy, maintenance, accessories and so..

More

Adding new COM Interface version

Leave a comment

Just for my self and other people like me who forget interestingly fast, and do not wish to get E_NOINTERFACE from C++ QueryInterface method after they add new COM interface version for maintaining backward compatibility for the COM object.

4 places to add the new version info..

1-In the idl file used for the description of the interface, Add the new interface and make sure you put a new UUID for it, make sure it inherits the old interface


[
 object,
 uuid(69BBF687-D8AE-4f7c-8E61-96DD47FA12C8),
 dual,
 helpstring("OldInterface Interface"),
 pointer_default(unique)
 ]
 interface IOldInterface : IDispatch
 {

//Some old functions

};

[
 object,
 uuid(9BFB8CD2-C090-4e37-A9AB-AE001B9EB4DC), //new UUID
 dual,
 helpstring("INewInterface Interface"),
 pointer_default(unique)
 ]
 interface INewInterface : IOldInterface
 {
//Some new functions

};

More

Getting myself a head start

9 Comments

I really have no idea why do i want to write this post, except that I want to give my self a head start as milestone zero in my MSc thesis work, there have been a year since I was supposed to start in my thesis

well.. I love science, I love reading, learning, exploring and inventing, but that’s something I love, I can’t give it more priority than other responsibilities I have, so starting in the thesis for me needs some factors, first.. a motivation

and in Egypt there isn’t.. at all! (for me at least)

More

So it’s FCIS third year, ha?!!

5 Comments

Ok, let me see..
First, FCIS third year is not hard at all, it is very interesting and you’ll learn so much from it if you wish just try to really free yourself from anything except your studies to enjoy it.

Second, the best thing to learn from during this year in some subjects will be the projects you do, so try to start in those projects as early as possible to give each project enough time and innovate..

Third, what I am going to write next depends mostly on my knowledge and experience that might be outdated as I was in this place may be three years a go and it depends on my way of thinking and opinions.

So, lets see the subjects you do have in it

More

Older Entries

Follow

Get every new post delivered to your Inbox.

Join 1,060 other followers