This project is read-only.

C++ Example

#include <iostream>
#include "SIMD.h"

#pragma comment(lib, "SIMD.lib")


void main()
{
    SIMD processor;
    std::cout << "SSE2 : " << processor.HasSSE2() << std::endl;
}

C# Example

using NetSIMD;

class Program
{
    static void Main(string[] args)
    {
        SIMD_Detector processor = new SIMD_Detector();
        Console.WriteLine("SSE2: {0}", processor.SSE2);
    }
}

Warning: You have to tweak the Visual Studio Project settings if you are running Visual Studio 2008 or 2010 or running on x64 platform

Last edited Jul 14, 2011 at 12:09 PM by shaovoon, version 7

Comments

No comments yet.