-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ENH: Returning a correct and unique kernel type from the Cython SPH
kernels. Using the same values for the OpenCL code and creating generic functions for kernel function and gradient evaluation in OpenCL using the kernel type. This simplifies the OpenCL kernel codes considerably. Also fixed a small error in the cl_common.h file.
- Loading branch information
1 parent
5e932b2
commit 0bf0d6d
Showing
4 changed files
with
100 additions
and
15 deletions.
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -58,4 +58,4 @@ unsigned int get_gid(unsigned int work_dim) | |
|
||
} | ||
|
||
#endif CL_COMMON | ||
#endif // CL_COMMON |
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