Four different ways using SSE intrinsics to implemented Matrix * Vector

SSE Intrinsic let the CPU caculate four float numbers or two double numbers in the same time, it is very useful to improve the performance like Image Processing , Matrix caculation,etc. But even you use SSE, there is many different ways to archieve your goal, and each way with different performance. so this chapter I will show some ways to archieve Matrix*Vector function, which is a very typical and common operation you would run into so often.

Read More

Memory Leak tracker in C++

Sometimes if you don’t get any memory leak detecting tool, it’s hard to find which memory leaked. even though you get the address of leaking memory, it’s difficult to map this address to a specific class or specific code line where you allocated this memory. Usually we can hook the operator new to track the memory. so based on this theory , we can develop some very simple class to help us to track the memory. So I just implemented a helper class to track the memory. please see the code from here

Read More

JVM and memory leak

What is memory leaking in Java? and what kind of result memory leaking can bring? The first result I can come up with is lowerring performance. Let’s dig into it from the memory model of JVM

Read More

DeadLock detecting using GDB

DeakLock in multithreaded programmming is really an annoying thing. Something if we are lucky, we might get some deadlock information from debugger.

Read More

Volatile Keyword in C++

I think Volatile keyword in C++ is not obvious and direct as other keyword like const,mutable etc. The main reason is we don’t know how Volatile works. We are told this keyword usually would be used to qulify the shared value in muitithreaded envoriment. But even though we need to take a lot of care to use this keyword. And The direct way to learn Volatile is through the assemble code.

Read More

2017
Card image cap

EthanHao

Being fear of something means something

  • Location: Chicago
  • Degree: Master of DePaul University
  • Current GPA: 3.97
  • Email: ethanhaous@gmail.com
  • Phone: (312)532-4772