aboutsummaryrefslogtreecommitdiff
path: root/src/cuda-sim/ptx_parser.cc
AgeCommit message (Collapse)Author
2019-09-12Merge branch 'dev' of https://github.com/purdue-aalp/gpgpu-sim_distribution ↵Mahmoud
into dev-traces
2019-09-04adding trace class and parss kernel infoMahmoud
2019-08-26Fix a bunch of outstanding warnings and undefined behaviorNick
2019-07-15Move operand_info::sm_next_uidMengchi Zhang
Signed-off-by: Mengchi Zhang <[email protected]>
2019-07-11g_sym_name_to_symbol_tableMengchi Zhang
Signed-off-by: Mengchi Zhang <[email protected]>
2019-07-11Move g_inst_lookupMengchi Zhang
Signed-off-by: Mengchi Zhang <[email protected]>
2019-07-10Move g_pc_to_finfoMengchi Zhang
Signed-off-by: Mengchi Zhang <[email protected]>
2019-07-10Move g_globals and g_constantsMengchi Zhang
Signed-off-by: Mengchi Zhang <[email protected]>
2019-07-08Move opcode_latency_int thus pass gpgpu_context into many classesMengchi Zhang
Signed-off-by: Mengchi Zhang <[email protected]>
2019-07-03Remove g_filenameMengchi Zhang
Signed-off-by: Mengchi Zhang <[email protected]>
2019-07-03move g_shader_core_configMengchi Zhang
Signed-off-by: Mengchi Zhang <[email protected]>
2019-07-01Move g_debug_ir_generation and GPGPUSim_InitMengchi Zhang
Signed-off-by: Mengchi Zhang <[email protected]>
2019-06-12Fix some compiler warningMengchi Zhang
Signed-off-by: Mengchi Zhang <[email protected]>
2019-06-12Add some vars in ptx_parserMengchi Zhang
Signed-off-by: Mengchi Zhang <[email protected]>
2019-06-12Move symbol table globalsMengchi Zhang
Signed-off-by: Mengchi Zhang <[email protected]>
2019-06-12Move all ptx_parser inside gpgpu_contextMengchi Zhang
Signed-off-by: Mengchi Zhang <[email protected]>
2019-06-09Add more vars for ptx_parserMengchi Zhang
Signed-off-by: Mengchi Zhang <[email protected]>
2019-06-09Move ptx_parser varsMengchi Zhang
Signed-off-by: Mengchi Zhang <[email protected]>
2019-05-30Move some variables in ptx_parserMengchi Zhang
Signed-off-by: Mengchi Zhang <[email protected]>
2019-05-20Fix col and linebufMengchi Zhang
Signed-off-by: Mengchi Zhang <[email protected]>
2019-05-17Fix linebuf and colMengchi Zhang
Signed-off-by: Mengchi Zhang <[email protected]>
2019-05-17Move ptx parser to reentrantMengchi Zhang
Signed-off-by: Mengchi Zhang <[email protected]>
2018-11-09resolving merge conflictDeval Shah
2018-11-03merged with memory subsytem. Regression is passing but tensorcore kernel is ↵aamir
stuck in deadlock
2018-11-02added incount and outcount, addressed all of the pull request commentsaamir
2018-10-24merged tensor-cores codeaamir
2018-10-05Merge pull request #15 from gjulianm/devTim Rogers
Naive fix of OpenCL parse errors
2018-08-16fix alignment bug in parser, modified ptxjitconfig, minor fixesJonathan
2018-08-10fixes ptxjitplus and cuLaunchKernelJonathan
2018-08-09added loadaamir
2018-08-07implemented prmt and started working on variable precision mul instaamir
2018-08-07working fix for deadlock due to operand collector, parser changes to support ↵J
culaunchkernel
2018-06-05ptx parse onlyJonathan
2018-06-05parse all ptx and add to symbol tableJonathan
2018-06-04parses through all ptx files, TODO: need to impl dp4aJonathan
2018-05-31mma_ld_implaamir
2018-05-27added wmma parsing but execution getting abortedaamir
2018-03-26Don't directly pass strings to printf (beacuse they wouldn't be escapped). ↵Nathan Conrad
Clang gives warnings about this.
2017-08-17Merged all work on the dev branch since the divergence point into the dnn ↵speverel
branch, incorporating Dynamic Parallelism and many bug fixes.
2016-07-06Added sstarr memory, which works the same as shared memorysspenst
2016-07-05ADD: add cudaGetParameterBufferV2 and add cudaLaunchDeviceV2 implementation. ↵Jin Wang
Kernel launch to stream not yet implemented
2016-07-05ADD: initial support for instruction group used by CDPJin Wang
2015-07-10Increase line buffer sizeGuillermo Julián
2014-08-14Fixing jenkins failureAndrew M. B. Boktor
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 17048]
2014-08-14Allocating aligned local memoryAndrew M. B. Boktor
Fixing the alignment of all types of memory so that it's aligned to size or 128byte whichever is smaller Refactoring out the padding code [git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 17047]
2014-08-14Removing a slew of code still compiled with gcc and the need for a bunch of ↵Tim Rogers
external C linkage [git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 15912]
2014-08-14MergingTim Rogers
//depot/gpgpu_sim_research/fermi_tim/... to //depot/gpgpu_sim_research/fermi/... Integrating CLs up to 15295. Descriptions of these CL's are included. *** A couple changes to aeriel-vision for warp issue plot support *** More arielvision changes to support the variable-entry length stacked bar chart *** Properly printing the right resolution of dynamic warp ids ***. Generalized the scheduler code and added detailed statistics for which warps issue each cycle. Verified the execution of the LRR scheduler - still have to get the two level scheduler to work. *** Implementing the 2lvl scehduler has it has been originally coded. LRR on both the inner and outer levels *** Adding in a debug tracing system to GPGPU-Sim. I am sick of writing debug code - then having to comment out, ifdef out or delete it to checkin. This also allows for print streams so the user can decided which traces they would like to see. Every print in GPGPU-Sim should go through this system - then it will be really easy to only get the information you want and more importantly people will (a) write and (b) checkin code that actually profiles what they are building. Reading tracefiles is superiour in many ways to single stepping since you can print the world and just vet the logfile for what you need. This also fascilitates advice from the Debugging Rules! book which states that you should never throw away a debugging tool. Having debug prints that don't get thrown away is big. *** Allowing the trace to be specified in the Make. Run Make TRACE=0 to compile the code without any traces *** Allowing prints from the performance sim to get the actual ptx instruction text *** Getting the two level scheduler to actaully work... What is released in fermi does not work at all - it effectively performs "static warp limit" from my CCWS paper. Warps are never demoted from the active list since the functionality checking to see if they are waiting on a longop is completly broken. Maybe if the original author had access to the tracing functions this would not have happened. The islongop test was completely broken. It did not mark the register as used, it marked the register number in the instruction as used. For example if this instruction was creating a long op: ld r6 [r1] It would mark register 0 as waiting for a long op (since it is register 0 of the two registers in this instruction), not register 6. Additionally, whenever ANY instruction from a warp releases registers, ALL the longops being tracked for this warp get cleared.... The only way anyone ever thought this worked is if they did not test it.... *** Reworking the warp schedulers to share common code. Making the GTX480 use gto by default. I am not sure wht they really use, but it really can't be LRR. Also adding in a new file for custom shared trace defines. These are useful when you want a print that has some additional criteria or information printed. Verified that the schedulers all work to a first order based on traces. *** Making it so you can run the stats collection scripts from any directory. Also allow the caller to specify a stats file instead of just assume its always the same one [git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 15296]
2014-08-14Extended PTX parser to recognize the .ptr .shared directive and allocate ↵Wilson Fung
shared memory buffer to those pointers. This is required to support OpenCL local memorywith the newer NVIDIA driver. [git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 14565]
2014-08-14Adding single element vector operands to support tex.1d instructions in CUDA ↵Wilson Fung
4.1 and later. KMN-FT should pass with this changelist. [git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 13833]
2014-08-14Fixing bugs 169, 170, 171Ahmed El-Shafiey
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 13761]