Skip to content

Commit

Permalink
Fixed bad matrix-vector performance in Cuda #257, #258
Browse files Browse the repository at this point in the history
  • Loading branch information
Christophe Riccio committed Oct 28, 2014
1 parent bf9e445 commit e8923c9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion glm/detail/setup.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -735,7 +735,7 @@
# define GLM_ALIGNED_STRUCT(x) __declspec(align(x)) struct
# define GLM_RESTRICT
# define GLM_RESTRICT_VAR __restrict
#elif GLM_COMPILER & (GLM_COMPILER_GCC | GLM_COMPILER_CLANG)
#elif GLM_COMPILER & (GLM_COMPILER_GCC | GLM_COMPILER_CLANG | GLM_COMPILER_CUDA)
# define GLM_DEPRECATED __attribute__((__deprecated__))
# define GLM_ALIGN(x) __attribute__((aligned(x)))
# define GLM_ALIGNED_STRUCT(x) struct __attribute__((aligned(x)))
Expand Down
2 changes: 1 addition & 1 deletion glm/detail/type_vec4.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ namespace detail
}//namespace detail

template <typename T, precision P = defaultp>
struct tvec4
GLM_ALIGNED_STRUCT(16) tvec4
{
//////////////////////////////////////
// Implementation detail
Expand Down

0 comments on commit e8923c9

Please sign in to comment.