Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 4 additions & 10 deletions src/cudamatrix/cu-matrixdim.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,10 @@
/*
* Typedefs needed for ANSI-C interface of CUDA wrappers
*/
#ifdef _MSC_VER
typedef unsigned __int32 uint32_cuda;
typedef __int32 int32_cuda;
typedef __int32 MatrixIndexT_cuda; // you'd have to change this if you changed MatrixIndexT from int32.
#else
#include <stdint.h>
typedef uint32_t uint32_cuda;
typedef int32_t int32_cuda;
typedef int32_t MatrixIndexT_cuda; // you'd have to change this if you changed MatrixIndexT from int32.
#endif
#include <cstdint>
typedef uint32_t uint32_cuda;
typedef int32_t int32_cuda;
typedef int32_t MatrixIndexT_cuda; // you'd have to change this if you changed MatrixIndexT from int32.

template<typename Real>
struct MatrixElement {
Expand Down