Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F60499230
c_func.h
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Tue, Apr 30, 16:23
Size
257 B
Mime Type
text/x-c
Expires
Thu, May 2, 16:23 (2 d)
Engine
blob
Format
Raw Data
Handle
17362059
Attached To
R11341 Introduction to CUDA
c_func.h
View Options
#ifndef __C_FUNC_H_
#define __C_FUNC_H_
extern "C" {
struct matrix {
int m, n;
double * data;
inline double & operator()(int i, int j) {
return data[j*m + i];
}
};
void c_function(matrix * in, double d);
}
#endif // __C_FUNC_H_
Event Timeline
Log In to Comment