parent
b0f070e013
commit
3a734557d8
@ -1,10 +0,0 @@
|
||||
CCFLAGS = -std=c++11 -I/work/paddle
|
||||
CC = nvcc
|
||||
|
||||
all : place_test
|
||||
|
||||
place.o : place.h place.cu
|
||||
$(CC) $(CCFLAGS) -c place.cu -o $@
|
||||
|
||||
place_test : place.o place_test.cu
|
||||
$(CC) $(CCFLAGS) -lgtest -lgtest_main $^ -o $@
|
@ -1,4 +1,4 @@
|
||||
#include <majel/place.h>
|
||||
#include "majel/place.h"
|
||||
|
||||
namespace majel {
|
||||
|
@ -0,0 +1,6 @@
|
||||
#include "gtest/gtest.h"
|
||||
|
||||
int main(int argc, char** argv) {
|
||||
::testing::InitGoogleTest(&argc, argv);
|
||||
return RUN_ALL_TESTS();
|
||||
}
|
Loading…
Reference in new issue