Permalink
Browse files

switching computers - start with GPU stuff in testcode dir

  • Loading branch information...
1 parent 7483a7c commit 84da6901ff0448954fea5331de53060ff127dded @yglee committed Aug 31, 2012
Showing with 4 additions and 2 deletions.
  1. +1 −1 CMakeLists.txt
  2. +3 −1 testcode/test_main.cc
View
2 CMakeLists.txt
@@ -71,4 +71,4 @@ add_subdirectory(cpp/fastslam1)
add_subdirectory(cpp/fastslam2)
# Adding test directories
-add_subdirectory(cpp/gtest)
+add_subdirectory(testcode)
View
4 testcode/test_main.cc
@@ -41,5 +41,7 @@ int main()
exit(error);
}
- cout<<"hello i am runnign opencl!"<<endl;
+ //allocate memory
+ const int mem_size = sizeof(float)*size;
+
}

0 comments on commit 84da690

Please sign in to comment.