How to get OpenCL 1.2 to work with 64-bit Delphi

A man by the name of Michal Pohanka put together a nice OpenCL test using Delphi 7.  I decided to explore it a little bit.  OpenCL is a nice little library that allows you to take advantage of your GPU for scientific computations, sometimes giving you 1000/1 speed boosts for complex operations.

I’m sure I’m not the only person out there that checked out his demo. and the 32-bit version compiled and ran on Delphi Xe6 without error, despite the fact that he wrote it for Delphi 7.

However it took a couple of little modifications to get it to work under 64-bit.  I figure I’ll just tell you what I did to make it work.  It is pretty simple once you know the magic sauce. Continue reading “How to get OpenCL 1.2 to work with 64-bit Delphi”

The Solar Roadways Scam – A Rebuttal for a Rebuttal for a Rebuttal

As the internet is full of “trolls” and “haters”, of course, all kinds of people came out of the woodwork to tell the inventors of Solar Roadways how stupid their invention was, and the inventors took offense to it releasing this official rebuttal.

I figure I’ll offer a rebuttal to their rebuttal because, in my opinion,  they’re still missing a few screws. Continue reading “The Solar Roadways Scam – A Rebuttal for a Rebuttal for a Rebuttal”

In defense of lock(this) and GC.Collect()

I really dislike it when ill-informed people write blogs, articles, and even books about things they know really nothing about.  In the C# world, there a couple of topics that are the subject of literally thousands of ill-informed blog and forum posts, for which the real, correct advice is buried and lost in the noise and chatter of supposed “experts” offering words of “wisdom” to newbies out there.  The couple of topics that I see come up again that I find particularly upsetting are whether or not it is okay to ever call “lock(this)”, and whether or not, and how-often, anyone should call “GC.Collect()”. Continue reading “In defense of lock(this) and GC.Collect()”

AMD/Hyper-V does a terrible job of managing the CPU C-State that is probably causing you serious performance issues.

I have a cheap AMD-based server in my basement.  Cheap servers generally aren’t terribly power efficient and the latest/greatest AMD cpu, the AMD-FX(tm)-9590, has been scoffed at by reviewers for how power inefficient it is, running a ridiculous 220W TDP. Continue reading “AMD/Hyper-V does a terrible job of managing the CPU C-State that is probably causing you serious performance issues.”

Raid-5 in a dynamically Allocated iSCSI virtual disk array

My “fun” weekend nerd project: Now that my iSCSI server is dishing out respectable performance numbers and supports virtual space allocation (The physical location of data stored is decoupled from the “virtual” location of the data, allowing for “hot moves” of data without bringing virtual disks offline.) My next step is… PARITY. Yes… I’m going to build RAID-5-style parity into the system. Continue reading “Raid-5 in a dynamically Allocated iSCSI virtual disk array”

XBox One vs. PS4: How software makes the XBox One games look and play better.

The gaming world is buzzing about the so-called “Resolution Gate”.   An alarming scandal surrounding the next-gen console systems, the Xbox One and PlayStation 4.  I’ll admit, I’m a bit turned off by the idea that these new systems both seem to be content with running 720p resolutions on my 1080p televisions… I mean.. I’ve been running 1080p standard on all my PC games for years now.  It seems rather odd that they can’t release a console capable of full 1080p resolution. Continue reading “XBox One vs. PS4: How software makes the XBox One games look and play better.”

The Pros and Cons of Windows vs. Linux vs. OSX

I did a random search today.  I wanted to find out what the community thought about the “Pros and Cons of Linux”, and was appalled at the amount of misinformation I found.  I think the world loves to hate on Microsoft Windows, because… well.. it is made by Microsoft.  I was originally simply thinking to myself that maybe there is something about linux that I can learn to like and maybe my own biases were half-baked, but the intelligence level of the average responder was extremely low and their comparisons were petty.

For whatever reason, society has deemed Apple to be “sexy”, Unix to be “cool”, and Windows is just an ugly, unusable, unstable, virus prone operating system.  I felt like most of the people who hated on Windows probably hadn’t even used it for anything other than playing World of Warcraft.   Continue reading “The Pros and Cons of Windows vs. Linux vs. OSX”