More Linux work. This has Render, Animate and Genome building and running on Linux.

This commit is contained in:
mfeemster
2014-12-05 18:30:46 -08:00
parent 4777ab52bc
commit a15f6d6b32
44 changed files with 2614 additions and 1021 deletions

View File

@ -13,7 +13,13 @@
namespace EmberCLns
{
#define ALIGN __declspec(align(16))//These two must always match.
//These two must always match.
#ifdef WIN32
#define ALIGN __declspec(align(16))
#else
#define ALIGN __attribute__ ((aligned (16)))
#endif
#define ALIGN_CL "((aligned (16)))"//The extra parens are necessary.
/// <summary>
@ -378,4 +384,4 @@ static const char* UnionCLStructString =
" real_t m_Reals[4];\n"
"} real4reals;\n"
"\n";
}
}