^Up [2014] Trevor L. McDonellBSD3.Trevor L. McDonell <tmcdonell@cse.unsw.edu.au> experimentalnon-portable (GHC extensions)NoneIShow a floating point number in scientific notation with a specific base.9 [2014] Trevor L. McDonellBSD3.Trevor L. McDonell <tmcdonell@cse.unsw.edu.au> experimentalnon-portable (GHC extensions)None69;QR/  !"#$%&'()*+,-./01.  !"#$%&'()*+,-./014NoneOQRT2A PNRG from indices to variates3&Uniformly distributed random variates.47Uniformly distributed random variates in a given range.5Generate an array of random values using the supplied generator function. The generator for variates is initialised with a fixed seed.6YGenerate an array of random values using a supplied generator function and seed value.7Generate an array of random values using a supplied generator function, initialised with the system's source of pseudo-random numbers.ETODO: find a way to do this directly, without going via save/restore.23456782345672345678[2014] Trevor L. McDonellBSD3.Trevor L. McDonell <tmcdonell@cse.unsw.edu.au> experimentalnon-portable (GHC extensions)None9Launch a monitoring server that will collect statistics on the running application. This should be called as soon as the application starts. The program will need to be run with the RTS option -T.999[2014] Trevor L. McDonellBSD3.Trevor L. McDonell <tmcdonell@cse.unsw.edu.au> experimentalnon-portable (GHC extensions)NoneQR:;<=>?@ABCDEFGHIJKL:;<=>?@ABCDEFGHIJ:;<=>?@ABCDEFGHIJ[2014] Trevor L. McDonellBSD3.Trevor L. McDonell <tmcdonell@cse.unsw.edu.au> experimentalnon-portable (GHC extensions)NoneQRM5The set of backends available to execute the program.NExecute Accelerate expressions MONPQRSTUVW MONPQRSTUV MONPQRSTUVW[2014] Trevor L. McDonellBSD3.Trevor L. McDonell <tmcdonell@cse.unsw.edu.au> experimentalnon-portable (GHC extensions)NoneDXYZ[\]^_`abcdefghXYZ[\]^_`abcdefghXYZ[\]^_`abcdefgh[2014] Trevor L. McDonellBSD3.Trevor L. McDonell <tmcdonell@cse.unsw.edu.au> experimentalnon-portable (GHC extensions)None$MQRi+Accelerate backend to execute programs withjShould tests be run?kShould benchmarks be run?l,URL of codespeed server to upload results tom(Machine name to use for reported resultsn#Variant to use for reported resultso Display help message (and exit)?pOptions for test-frameworkq Options for criterion benchmarksrFormat a (console) string as bold text. Assume the user has configured their terminal colours to something that looks good (and avoids the light vs. dark background debate).sFGenerate the list of available (and the selected) Accelerate backends.tStrip the short option arguments that have a required or optional argument. Because we use several different options groups, the flag and its argument get separated. The user is required to instead use a --flag=value format.uStrip the operational part of the options description structure, so that the option lists can be combined for the purposes of displaying the usage information.vExtract the option flagswProcess the command line arguments and return a tuple consisting of the user options structure, accelerate-examples options (including options for criterion and test-framework), and a list of unrecognised command line arguments.Since criterion and test-framework both bail if they encounter unrecognised options, we run getOpt' ourselves. This means that the error messages might be slightly different.Any command line arguments following a "--" are not processed, but are included as part of the unprocessed arguments returned on output.xyijklmnopqz{|}~rstuvwthe user option descriptionsuser default option set header text footer text"MONPQRSTUVxz{|}~wx yijklmnopqz{|}~rstuvw [2014] Trevor L. McDonellBSD3.Trevor L. McDonell <tmcdonell@cse.unsw.edu.au> experimentalnon-portable (GHC extensions)NoneIf accelerate-examples is configured to enable GUI programs, and we are not in benchmarking mode, then execute the given action. [2014] Trevor L. McDonellBSD3.Trevor L. McDonell <tmcdonell@cse.unsw.edu.au> experimentalnon-portable (GHC extensions)None#Post-process the benchmark reports. [2014] Trevor L. McDonellBSD3.Trevor L. McDonell <tmcdonell@cse.unsw.edu.au> experimentalnon-portable (GHC extensions)None<Run the given benchmarks, if we have enabled benchmark mode.  [2014] Trevor L. McDonellBSD3.Trevor L. McDonell <tmcdonell@cse.unsw.edu.au> experimentalnon-portable (GHC extensions)None Run the given tests, if enabled.Assert that the specified actual value is equal-ish to the expected value. If we are in verbose mode, the output message will contain the expected and actual values.Short hand for a test case that asserts similarity, with the actual value on the right hand side and the expected value on the left.Short hand for a test case that asserts similarity, with the actual value on the left hand side and the expected value on the right.The expected valueThe actual value 11 [2014] Trevor L. McDonellBSD3.Trevor L. McDonell <tmcdonell@cse.unsw.edu.au> experimentalnon-portable (GHC extensions)NoneB2345679MONPQRSTUVxz{|}~w !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[Y\]^_`abcdefghijklmnop]qrstuv[Twxyz{|}~T Y\Y\Y\Y\Y\Y\Y\Y\ 2accelerate-examples-1.0.0.0-7txpunvFQVoFfTDtLAvTIh,Data.Array.Accelerate.Examples.Internal.Util/Data.Array.Accelerate.Examples.Internal.Similar4Data.Array.Accelerate.Examples.Internal.Random.Array2Data.Array.Accelerate.Examples.Internal.Monitoring8Data.Array.Accelerate.Examples.Internal.Criterion.Config/Data.Array.Accelerate.Examples.Internal.BackenduniformuniformR randomArrayrandomArrayWithSeedrandomArrayWithSystemRandomrunRandomArraybeginMonitoring confIntervalcsvFileforceGCjsonFile junitFile rawDataFile regressions reportFile resamplestemplate timeLimit verbositydefaultOptions extraOptions regressParams regressHelptabulate(criterion-1.1.4.0-1X5sat4MFz7JniO3swAM8OCriterion.Main.Options defaultConfigCriterion.TypesConfigBackendrun Interpreterrun1run2run3run4defaultBackendavailableBackendsconcurrentBackends $fShowBackendropt_color_moderopt_hide_successesropt_list_onlyropt_test_optionsropt_test_patterns ropt_threadsropt_xml_nestedropt_xml_outputtopt_maximum_generated_teststopt_maximum_test_depthtopt_maximum_test_size'topt_maximum_unsuitable_generated_tests topt_seed topt_timeout _optBackend_optTest _optBenchmark _optCodespeed _optHostname _optVariant_optHelp_optTestFramework _optCriterion sectionHeader fancyHeaderstripShortOpts_stripArgDescrextractOptFlags parseArgsOptions optBackend optBenchmark optCodespeed optCriterionoptHelp optHostnameoptTestoptTestFramework optVariantoptionsbaseSystem.Console.GetOptgetOpt'getOpt usageInfoArgOrderPermute RequireOrder ReturnInOrderOptDescrOptionArgDescrNoArgReqArgOptArgrunInteractiveprocessReports runBenchmarksbgroupbenchenvwhnfIOnfIOnfwhnf BenchmarkrunTests assertEqual~=?~?=failure$HUnit-1.5.0.0-DvjF79OHhCC7SzfeEty4OITest.HUnit.Lang Assertion'QuickCheck-2.9.2-Jyj4gc4JxkEIgGFLAsGhs9Test.QuickCheck.PropertyProperty-test-framework-0.8.1.1-7YvscNBXXw5Lj2Ypw31c2NTest.Framework.Core testGroupTest3test-framework-hunit-0.3.0.2-ItCdzJs3gi27V64u8RQwaCTest.Framework.Providers.HUnittestCase9test-framework-quickcheck2-0.3.0.3-3BvhXUbVGHg7IQrkbhC6DS$Test.Framework.Providers.QuickCheck2 testProperty