Implemented b3OpenCLUtils::setCachePath

Also made kernel caching work on Mac OSX (and likely Linux, needs testing before enabling)
This commit is contained in:
Erwin Coumans
2013-06-07 15:04:46 -07:00
parent 9fe48d887d
commit afecad3ee4
3 changed files with 119 additions and 68 deletions

View File

@@ -409,6 +409,8 @@ void myprintf(const char* msg)
int main(int argc, char* argv[])
{
b3OpenCLUtils::setCachePath("/Users/erwincoumans/develop/mycache");
b3SetCustomPrintfFunc(myprintf);
b3Vector3 test(1,2,3);
test.x = 1;