Last active
August 29, 2015 14:07
-
-
Save alphaville/f0d849c9500a10fb29cb to your computer and use it in GitHub Desktop.
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
/* Auto-generated file (by a MATLAB script) - ID 3062321795 */ | |
#ifndef __RAND_DATA_TURBO__ | |
#define __RAND_DATA_TURBO__ | |
#define NS 32 | |
__device__ float dev_x[32] = | |
{ 9.320295340189, 8.666071467758, 2.064062819139, 5.206786781683, 9.887525026886, 9.196139126590, 2.988093813008, 9.115010659100, 4.994307851747, 0.409423900211, | |
1.911173066863, 1.515824153316, 5.797111859887, 1.448878331722, 8.210170746106, 6.347733121928, 7.880805428768, 0.672098319650, 5.452277295227, 9.969671220601, | |
4.163690454109, 4.533135887627, 4.753697246041, 7.479679481997, 6.284391741501, 1.379130881428, 1.461187098148, 3.176252291762, 1.193081208537, 2.617309963319, | |
1.569496065742, 1.300436755400}; | |
__device__ float dev_A[1024] = | |
{ 1.325317828038, 0.980300315756, 2.152607382835, 0.115567759960, 0.978909575420, 1.764026442344, 1.116210096729, 3.067609278483, 2.902285557944, 4.267838392723, | |
0.205652682691, 2.440872187455, 4.604130781466, 0.545509416594, 2.055283111522, 2.350634112373, 0.636482743476, 4.911775001455, 0.101579831027, 3.527430240060, | |
4.827545711724, 1.763726958168, 3.029473789644, 1.086901680257, 4.959847731438, 3.345897817193, 3.465198709260, 0.877354634082, 4.152244026437, 1.230938832147, | |
3.020978466418, 4.092560282680, 2.088732258523, 0.307345223232, 4.536270264395, 3.669327058803, 1.901829885640, 1.970957854963, 4.393016885396, 0.559147339181, | |
2.171433894311, 2.842808434170, 0.098104316413, 1.825733451095, 2.347694539676, 1.226332635823, 2.748248850868, 2.180675957292, 4.658755295750, 1.474460539616, | |
2.106169956083, 1.249076260266, 2.210172831778, 2.916929374739, 3.801041474902, 3.667140833222, 3.610505785880, 3.692525019190, 2.558710292879, 1.300707885238, | |
3.853408527748, 2.532132755988, 1.827089764129, 0.960504282782, 0.821882020140, 0.548645392610, 3.650325774305, 2.812886086337, 4.460078295831, 0.975374636762, | |
4.473848923948, 0.212832975119, 2.216648960559, 4.466712609007, 3.344588142557, 4.105623826667, 3.308186815400, 0.840293008915, 3.492484088284, 3.121889240462, | |
3.300006513967, 4.714414452223, 3.967282425456, 4.906931856236, 4.860883383663, 0.791662187119, 3.647616376192, 3.750373222445, 4.171201968893, 4.723798987740, | |
3.744665786286, 0.888136726361, 4.586233635182, 3.655553516508, 1.005634815703, 3.860890898115, 2.510941889133, 3.815857209431, 4.635200361959, 0.750994013241, | |
4.452488908246, 3.076913714112, 4.267501381157, 0.514370092805, 0.364557346007, 1.720589543385, 1.592330824952, 1.939718567206, 3.915810389228, 4.214780152188, | |
1.853650905590, 1.484034585914, 4.979485516235, 4.412103703611, 4.097360790515, 4.871587688626, 2.805525054804, 1.653926933437, 1.546617976549, 0.560412277809, | |
3.288167845697, 1.370307577856, 1.767228040274, 4.183045521533, 3.262382070157, 2.299588935075, 3.989766360144, 1.460736399526, 2.516703593778, 0.670197010852, | |
0.823960825949, 1.408128896145, 3.249459678540, 4.525024510538, 1.065685551086, 2.614165838268, 2.670932596301, 2.372316120052, 2.238443882865, 3.598540386779, | |
2.395224316015, 3.360153823773, 0.146943495769, 2.617838000055, 4.775216615642, 2.794396076038, 1.104883205135, 1.809920066304, 4.042978614583, 2.695848479277, | |
0.678901439475, 3.500327202939, 0.417996301470, 1.982190862430, 1.337464873400, 2.865785447454, 1.958573324370, 0.036864207583, 2.108888817340, 4.509746505722, | |
0.283759514836, 0.639849060362, 2.024818291871, 0.607655974129, 2.977239444972, 3.817193360884, 3.581165418414, 4.892480573765, 1.661359293813, 0.464587613063, | |
1.334567955231, 4.035525938834, 3.883771886483, 4.157161562092, 3.328016341887, 3.968183767311, 3.651699854076, 3.086257714749, 1.501619910086, 1.362161779255, | |
0.429161158066, 2.561943027133, 0.778116682230, 1.141604018816, 3.790255614107, 0.121204941198, 1.020374171980, 0.393645811058, 0.992995019072, 0.356502033670, | |
1.709860964642, 4.851993819734, 0.985379191555, 3.594083338765, 4.031432521349, 3.740943198074, 4.402325620834, 4.141681511914, 0.895493414322, 1.113314635490, | |
0.090749203266, 2.757626733737, 2.432259124618, 3.748561251694, 0.923009942073, 3.695802623034, 1.657192777048, 3.106808439445, 0.518157227205, 0.307870525431, | |
1.847409534392, 1.467784726347, 2.782764599060, 4.839236760490, 0.894422900472, 2.970819741078, 0.503703918858, 3.266654687220, 4.261209581502, 0.806332351595, | |
0.785783911780, 0.146943886465, 1.779437160488, 0.606156700682, 2.083116036973, 0.385047748933, 0.549642588407, 1.407368490116, 4.090427968494, 4.819956894207, | |
4.066895952926, 2.489906949047, 1.248747016077, 1.296927305391, 4.753992783275, 1.185051022287, 2.128153677260, 4.081591435333, 4.048800990944, 1.048262974280, | |
4.303676477943, 3.459086004108, 2.503131658035, 0.842888151179, 4.466723982014, 3.488656844018, 0.146891789561, 2.688495029531, 1.154754186282, 0.991625621733, | |
2.758063969171, 0.627743858006, 1.747909295937, 2.818780467756, 3.855594337422, 0.858899286245, 0.052208054320, 3.708334003939, 2.621840260082, 1.524340344826, | |
2.775028254626, 4.046310121445, 3.238955515454, 3.875871157439, 4.502869792331, 4.943554274942, 1.571065990245, 3.207449552353, 4.410412227011, 3.017150219985, | |
2.378031776398, 2.334632920427, 1.567611774044, 3.350782542826, 4.884439480272, 0.427028256942, 3.621501973225, 2.974869653453, 4.816452872531, 3.057093199578, | |
1.865817146868, 1.725579495436, 3.652473759790, 4.144238672268, 0.519435209406, 3.223693633246, 0.692970221302, 4.332256697018, 1.312104219159, 2.503114020186, | |
4.216644662505, 1.125730009010, 1.273139760634, 0.991346674917, 2.981025976537, 0.907521983090, 1.454339619520, 3.620445756690, 1.785932684883, 4.116915109506, | |
1.159454612235, 1.092865770184, 0.449267919350, 1.331865817212, 0.736005038082, 0.442347391730, 3.589778837110, 3.999165083039, 2.155355610228, 3.547799846188, | |
1.101251329760, 3.092289524487, 4.295375536426, 4.215973567486, 1.761259026234, 2.917380828446, 2.263160558256, 2.208894513234, 0.821271112824, 0.926376238953, | |
1.975094876571, 2.872553488220, 3.295242354506, 2.227208175923, 3.827740551767, 1.336155262917, 1.456085562709, 2.345888659121, 4.202599697921, 2.059345190619, | |
2.562236726338, 4.693859909270, 1.653584272115, 0.267959477312, 0.950334101853, 0.211226187390, 1.282027460879, 4.806909875957, 3.630711978528, 1.536412316099, | |
3.038256570058, 0.318227672517, 1.363747588786, 3.925812451473, 0.222238319661, 1.257506306526, 3.636420771577, 2.675701624720, 0.540566357544, 2.826683794980, | |
1.248096486965, 1.178911952903, 0.581710956576, 4.420385809748, 2.045559432631, 3.727415287311, 3.414223773416, 1.803770642026, 3.390848619494, 0.447993208910, | |
1.404583456218, 0.305358215681, 1.260259591609, 3.342007644918, 4.422832897800, 3.194211515578, 2.388171713211, 0.412959274283, 1.382787632497, 0.991243252120, | |
2.047626602884, 0.850325985167, 3.941490828500, 4.912823515254, 3.116272154718, 3.506039992609, 4.373011689162, 0.411777201414, 3.329404291984, 0.714960796304, | |
4.482969037348, 1.433131619127, 0.324740486170, 0.819507123088, 3.505243923370, 4.880323571251, 2.532841577269, 2.893008295250, 3.938023296554, 0.361066968760, | |
4.204537021958, 3.888778235385, 4.142306460296, 1.852087273283, 2.559176781825, 2.390411379321, 3.056567919241, 4.434140231558, 1.865149620817, 4.526645352347, | |
3.222550238402, 4.204381433746, 3.583450978837, 1.473436929933, 0.446954461041, 4.833635845574, 2.747046068994, 2.619930000003, 2.721318686984, 4.405421712245, | |
0.825927092871, 1.690674893210, 3.016550658757, 2.235354820105, 2.924473795025, 2.272828874467, 4.468150683661, 2.918688950397, 4.161526740096, 2.014769737060, | |
0.631665402818, 3.251211209101, 2.180315615252, 4.251756572851, 0.564732551901, 4.002127147427, 0.033019787899, 4.982221654073, 4.144913152549, 4.118229938131, | |
4.744833057726, 2.417459166694, 0.279675088624, 3.029806689171, 3.430702482662, 3.260808855742, 1.991145446421, 1.122932363680, 4.539093266124, 0.615847289729, | |
0.696359592158, 2.844722905189, 0.339683803722, 1.503565368436, 2.264648815877, 3.008178104148, 4.179533776145, 2.864564280736, 2.352973522033, 0.244516421506, | |
0.226277735508, 2.794495532973, 0.229308173398, 4.933615372109, 0.542834103345, 2.823876717937, 0.532591059134, 4.362027157913, 1.842108430965, 0.589590817402, | |
0.056158829733, 1.002945786954, 3.526134403309, 2.249790037944, 0.974813225971, 1.423374526621, 1.406132415745, 3.722413041833, 4.258712952363, 3.874540983098, | |
3.428934075055, 0.130259397427, 3.317615249745, 2.750484231550, 2.182204632620, 4.970994024456, 4.155435619522, 1.361191290838, 1.550730710445, 3.093722993372, | |
3.276849360138, 0.653524824050, 1.935462307803, 2.451338621129, 0.580870019113, 3.511878672742, 4.648989812162, 1.361041064976, 0.711713330404, 3.508440070342, | |
1.640283180936, 0.740723847801, 2.341029435574, 0.607213137799, 1.517874559637, 0.180122739062, 1.933527492105, 3.338185369612, 4.578439511890, 2.606304788924, | |
1.555991662460, 1.705148822920, 1.554471795314, 1.586325347786, 1.072289694422, 3.666917554377, 3.567437365114, 0.504593694940, 4.045701993676, 4.450238776317, | |
4.655232209191, 3.602781439891, 2.873447652494, 0.567375834795, 2.053626353569, 1.002124142388, 4.180456929197, 2.179731148392, 2.088368930478, 3.861406313870, | |
3.009049128361, 4.253819444942, 2.691645382549, 4.083870471978, 2.315903413538, 4.183941392410, 0.290978386957, 2.815563732531, 0.544414072678, 0.688790156344, | |
1.563456375289, 2.273712458020, 3.928617354924, 4.901414653890, 4.100425695517, 1.056810294225, 3.563234170083, 1.385709357766, 1.165505536970, 2.211374438072, | |
2.388250886614, 1.593938833189, 1.373218078865, 3.620161672872, 0.662707681976, 0.932806531392, 2.216868679465, 4.682603851976, 4.130023181207, 0.830287159749, | |
4.020928936697, 2.153353801400, 0.926716046137, 3.039877216344, 2.657678002865, 2.606679831674, 0.004909288554, 0.118246599311, 3.154704835976, 1.741473407266, | |
4.734790037493, 1.594132244943, 1.368133988632, 2.697931210859, 4.133871336063, 1.610251576989, 0.225784636799, 1.449210541678, 2.496086494362, 4.294304502308, | |
4.765311891542, 1.369167109805, 4.778911931909, 4.485869249639, 3.020316972911, 0.927934887749, 4.841545417186, 4.490160627713, 3.627879867265, 1.109699340520, | |
2.728769186877, 1.723539744540, 0.875748321993, 3.451324053341, 2.091981287201, 0.207745255282, 2.477159795621, 2.522385780167, 0.449236403649, 3.075502332859, | |
4.331223791159, 3.128587035082, 3.791066160385, 1.668610084360, 0.663636395568, 4.699350381878, 4.049020778734, 4.529283013344, 3.160386452005, 1.377166195302, | |
3.143494027417, 1.618260369507, 2.054934491097, 0.465614774536, 2.218241737190, 1.705156071947, 2.916875280649, 3.163227232950, 0.991862615626, 0.486002748434, | |
3.644794090987, 2.657867933033, 4.769954995923, 4.383206389394, 4.386711098560, 4.056101601695, 0.904187811725, 1.744889270114, 1.344042118346, 4.576129698808, | |
2.943822239869, 3.378221350693, 0.808153016254, 4.734563716916, 1.541228823328, 0.784875193872, 1.030706515808, 1.997270304657, 0.942861273742, 3.742565577116, | |
3.782270132748, 1.163818919875, 4.641620519625, 3.045094992545, 3.731519039398, 1.147572874389, 2.283406930025, 1.672916683268, 4.614234284121, 1.685816219601, | |
3.669425977667, 4.811986525600, 4.138899226843, 3.840316088637, 1.549195132700, 4.433004730924, 2.819290307271, 1.668146845118, 1.496229177379, 0.543334954738, | |
2.751538171144, 1.096978651671, 1.580550547901, 3.930959227762, 2.347477329669, 2.617335800520, 2.728079186710, 3.162942813144, 4.999738868207, 0.375861041299, | |
1.045190195096, 2.995431470564, 1.214470101653, 4.628326204779, 0.996392154461, 2.618577431026, 4.260553438073, 2.110435093691, 2.115180921167, 2.336970681186, | |
0.314213566637, 0.898378171241, 1.750541402733, 2.208017384426, 2.174010011447, 2.795582672918, 0.208461141453, 0.163273925111, 2.764412356825, 0.087506622854, | |
4.705834138071, 4.112859239452, 2.415318847502, 3.604237538353, 4.547784271220, 2.712144123503, 1.161464258232, 4.833835512845, 4.956772219423, 1.418544213049, | |
0.138720426075, 3.243689542340, 4.397089551640, 3.176284975009, 2.212653681811, 3.966103281423, 0.571309758914, 2.954153783879, 1.796442847224, 3.883298352933, | |
2.158844004645, 1.099279365806, 1.984004103027, 4.723746733705, 3.242605325708, 0.968038501536, 0.730699575998, 1.555735075056, 0.479964402384, 2.489719293569, | |
1.189542149406, 0.335132302648, 1.591673507742, 0.630917246839, 4.487124018722, 0.683870916603, 1.531559666201, 3.963770120215, 2.100851358817, 1.576710857862, | |
2.752836629455, 0.339053000811, 2.924525168191, 3.116602256615, 1.633136010728, 3.401119610347, 2.853197307892, 3.180009721166, 1.801506839746, 4.855252702703, | |
3.829054018295, 4.468408077006, 4.712669879944, 0.640253092117, 3.542652901297, 1.880695030780, 0.866476620899, 2.374404568738, 3.074731481257, 0.343879771607, | |
4.789800124263, 0.593502387449, 4.583892294450, 2.379076730777, 3.181284228582, 1.021990375586, 4.052960882158, 1.099466254588, 3.601050726185, 2.231328040919, | |
0.268950405035, 4.348952205040, 1.394570639539, 1.890019403960, 0.054563455928, 1.654697251284, 0.033306176483, 2.995673633677, 4.835007292878, 1.988679840123, | |
0.190631599498, 2.873685713544, 1.001773366076, 3.540741065673, 4.562945581530, 2.582853248845, 1.664721758601, 1.419963587079, 2.865394032909, 1.947527048652, | |
4.325378730821, 0.592112354403, 1.780966282268, 3.795688068933, 2.435236217686, 4.110460959031, 2.925563768992, 3.397262001756, 3.320493672152, 0.193804508619, | |
3.776612105261, 0.469244729564, 2.359630890504, 0.507705364069, 2.685966271661, 4.118319251430, 0.530318007262, 4.982052810547, 1.588778613145, 2.890515004324, | |
2.200744670906, 0.214269298046, 3.691409182647, 1.603671786600, 3.558157673426, 3.979975472628, 4.407034156130, 0.428004506533, 3.881045155056, 1.081478971107, | |
0.526851768829, 2.400421668198, 1.403742081972, 2.600498811154, 0.490045655624, 1.297941149622, 4.268049514236, 3.477151216353, 3.388184315788, 3.458911593570, | |
4.040612988724, 0.946947308990, 2.521760018641, 2.334344839836, 1.052026372372, 1.453171383461, 3.510737370391, 2.572697910909, 1.918561183271, 3.954240466137, | |
4.148925808907, 4.604079217608, 4.911753193021, 3.580957251455, 3.853400281662, 1.581819125440, 2.111816588912, 3.467762906363, 4.249887321585, 0.194889917991, | |
3.443749451592, 1.664660280257, 4.153587461678, 1.659408681325, 4.025970402699, 0.937718587488, 1.050760863610, 2.965435414222, 3.222896442912, 3.938890049716, | |
1.429253910581, 3.621676567426, 0.691756898037, 2.147567705761, 2.765785202340, 3.271396121940, 4.145158176423, 1.132547772556, 3.661096834510, 4.384551052638, | |
3.233272935937, 0.114699013747, 3.361807365627, 0.885243253899, 2.296408693465, 3.379330777533, 3.501991161721, 3.652639186791, 0.324560551167, 0.221223650351, | |
0.308616193006, 1.165693459164, 4.157804103734, 4.911249155003, 0.768448124112, 2.939696850360, 3.525416645744, 1.492348476143, 0.787732459904, 2.303259972438, | |
0.068348033026, 3.118652690484, 0.907379854089, 2.659250208174, 1.965030198361, 0.304579656032, 3.567503083624, 1.737007950768, 3.484844501347, 3.708030412688, | |
4.228146660543, 0.367294861728, 3.481808756395, 0.733690682554, 1.101839284096, 1.736018818437, 3.006037836987, 2.541154187207, 1.635132484833, 2.967769178346, | |
4.177007199330, 0.190554010599, 1.390480379910, 2.273298656531, 2.110825014370, 0.227590488018, 4.895039443173, 0.289782666409, 3.361042811233, 3.404767318658, | |
2.569504152805, 1.745081957144, 4.174460431531, 0.286439889476, 2.622414482059, 3.734159071896, 3.449479216372, 3.256329187009, 1.439597171878, 1.845394832484, | |
4.238359557500, 1.871552556731, 2.954227296877, 0.981835341317, 4.863251736049, 2.948874238092, 4.080326719670, 1.480334613792, 3.100119741993, 0.984488300141, | |
3.311087760415, 1.435117622924, 0.769358311110, 4.601057717936, 2.661297632679, 1.252972730204, 1.337821194516, 3.880363068125, 1.822460763440, 3.322426296255, | |
3.476329525173, 1.053713931154, 3.228634767568, 1.927941164799, 0.584590155471, 2.249335700740, 0.084062260059, 1.462925345960, 2.993160499577, 3.693522825683, | |
3.120612534993, 4.410289192208, 4.090639283685, 0.478275145611, 1.284965620401, 4.903216802435, 4.555298505082, 1.225032524761, 2.755041708792, 1.165653802111, | |
0.665704062224, 0.188889375559, 2.374729039048, 4.748444907925, 1.666143804855, 3.693695007541, 3.359246758965, 1.920186361987, 3.339666007306, 3.087182992665, | |
2.233725998518, 0.020824749689, 3.135567880855, 2.647643026923, 0.473372179334, 1.642648815048, 4.064272800337, 1.796932552138, 1.566561744809, 1.383781700037, | |
3.868511933717, 3.149808083056, 2.393326530562, 3.942786376564, 0.882827401747, 0.487818946706, 1.353058226340, 3.523749842905, 0.484811578889, 1.879294874268, | |
3.325175420765, 2.001866585980, 2.653765792331, 0.419751874623, 4.011688002932, 1.815898236586, 4.638357272548, 2.784744597718, 0.357864710260, 0.634186136143, | |
4.887047969545, 1.069646473637, 0.064151278546, 0.265097455933, 1.688738831655, 1.158359230413, 1.859179608708, 0.749841873331, 0.855285373840, 0.546997198941, | |
0.585966585338, 1.800570806282, 0.742932528247, 0.213383990397, 1.044956620974, 1.795481893036, 3.782675575627, 3.395836767992, 2.285686369328, 0.460178472288, | |
4.266659769175, 0.724644941218, 4.847110832487, 1.278077300183, 1.874775503031, 3.481333064215, 3.518039014732, 4.128732622283, 1.744258007667, 3.763963181874, | |
3.786776884164, 1.331266491530, 3.940352388345, 4.629287727475}; | |
float y_correct[32] = | |
{ 312.9455399407, 253.5353026640, 387.7188827403, 270.4071429431, 398.3662664562, 437.4929794011, 421.9618915545, 392.7481125352, 310.9277191774, 373.8725807934, | |
335.4064241132, 365.2947048080, 412.4904636613, 410.1511024328, 326.1128324264, 386.5321883210, 405.9954207822, 384.8729076259, 312.7383657832, 348.6575091572, | |
408.0400096316, 453.1895414863, 384.7662475832, 309.4352368268, 392.9879633208, 379.7139672043, 374.8966359570, 328.8223864879, 425.1353026779, 263.7886933140, | |
395.2452255895, 397.3218056120}; | |
#endif /* __RAND_DATA_TURBO__ */ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment