This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// craete rs do nothing | |
fn main() { | |
// do nothing | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include<cuda.h> | |
#define THREAD_NUM 256 | |
#define BLOCK_NUM 32 | |
#define R_SIZE THREAD_NUM * BLOCK_NUM | |
#define M_SIZE R_SIZE * R_SIZE | |
__global__ void mat_mul(int* mat1, int* mat2, int* result){ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*---------------------------------------------------------------------------- | |
ADOL-C -- Automatic Differentiation by Overloading in C++ | |
File: tapeless_scalar.cpp | |
Revision: $Id$ | |
Contents: computation of coordinate transform, | |
scalar tapeless forward mode | |
described in the manual | |
Copyright (c) Andrea Walther, Andreas Kowarz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nvcc -arch=sm_60 -std=c++11 -I/usr/local/adolc/include -o traceless_cuda modules/planning/open_space/trajectory_smoother/traceless_cuda.cu |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
inline cudaError_t checkCuda(cudaError_t result) { | |
if (result != cudaSuccess) { | |
printf("CUDA Runtime Error: %s:%d, ", __FILE__, __LINE__); | |
printf("Code: %d, message: %s\n", result, cudaGetErrorString(result)); | |
} | |
return result; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
class A{ | |
int data; | |
public: | |
A() { data = 0;} | |
__host__ __device__ | |
void increment() { data++;} | |
__host__ __device__ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/setup.py b/setup.py | |
index d26ca8b..027524a 100644 | |
--- a/setup.py | |
+++ b/setup.py | |
@@ -206,7 +206,7 @@ if platform.system() == "Windows": | |
if info.major == 3 and info.minor >= 5: | |
# PCL 1.8.1 | |
boost_version = '1_64' | |
- vtk_version = '8.0' | |
+ vtk_version = '6.3' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/setup.py b/setup.py | |
index d26ca8b..dff54ae 100644 | |
--- a/setup.py | |
+++ b/setup.py | |
@@ -253,7 +253,7 @@ if platform.system() == "Windows": | |
if info.major == 3 and info.minor >= 5: | |
# PCL 1.9.1 | |
boost_version = '1_68' | |
- vtk_version = '8.1' | |
+ vtk_version = '6.3' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/setup.py b/setup.py | |
index d26ca8b..027524a 100644 | |
--- a/setup.py | |
+++ b/setup.py | |
@@ -206,7 +206,7 @@ if platform.system() == "Windows": | |
if info.major == 3 and info.minor >= 5: | |
# PCL 1.8.1 | |
boost_version = '1_64' | |
- vtk_version = '8.0' | |
+ vtk_version = '6.3' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/setup.py b/setup.py | |
index d26ca8b..027524a 100644 | |
--- a/setup.py | |
+++ b/setup.py | |
@@ -206,7 +206,7 @@ if platform.system() == "Windows": | |
if info.major == 3 and info.minor >= 5: | |
# PCL 1.8.1 | |
boost_version = '1_64' | |
- vtk_version = '8.0' | |
+ vtk_version = '6.3' |
NewerOlder