Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
danggl
OpenCFD-SCU
Commits
acb9b19b
Commit
acb9b19b
authored
Jul 21, 2022
by
ccfd
Browse files
...
parent
eaa5a408
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
6 deletions
+5
-6
head/cuda_commen.h
head/cuda_commen.h
+5
-6
obj/cuda_commen.o
obj/cuda_commen.o
+0
-0
obj/libocfd.a
obj/libocfd.a
+0
-0
opencfd-scu.out
opencfd-scu.out
+0
-0
No files found.
head/cuda_commen.h
View file @
acb9b19b
...
@@ -10,7 +10,6 @@
...
@@ -10,7 +10,6 @@
extern
"C"
{
extern
"C"
{
#endif
#endif
/*
#ifdef DEBUG_MODE
#ifdef DEBUG_MODE
#include "stdio.h"
#include "stdio.h"
#define CUDA_CALL(CALL) \
#define CUDA_CALL(CALL) \
...
@@ -23,10 +22,10 @@ extern "C"{
...
@@ -23,10 +22,10 @@ extern "C"{
MPI_Abort(((MPI_Comm)0x44000000) , 1);\
MPI_Abort(((MPI_Comm)0x44000000) , 1);\
}\
}\
}
}
#else
*/
#else
#define CUDA_CALL(CALL) CALL;
#define CUDA_CALL(CALL) CALL;
//
#endif
#endif
/*
#ifdef DEBUG_MODE
#ifdef DEBUG_MODE
#include "stdio.h"
#include "stdio.h"
#define CUDA_LAUNCH(call)\
#define CUDA_LAUNCH(call)\
...
@@ -40,10 +39,10 @@ extern "C"{
...
@@ -40,10 +39,10 @@ extern "C"{
MPI_Abort(((MPI_Comm)0x44000000) , 1);\
MPI_Abort(((MPI_Comm)0x44000000) , 1);\
}\
}\
}
}
#else
*/
#else
#define CUDA_LAUNCH(call)\
#define CUDA_LAUNCH(call)\
call;
call;
//
#endif
#endif
typedef
struct
cudaField_
{
typedef
struct
cudaField_
{
REAL
*
ptr
;
REAL
*
ptr
;
...
...
obj/cuda_commen.o
View file @
acb9b19b
No preview for this file type
obj/libocfd.a
View file @
acb9b19b
No preview for this file type
opencfd-scu.out
View file @
acb9b19b
No preview for this file type
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment