contrib/beignet.git
11 years agoAdded some functionalities for the test framework
Benjamin Segovia [Thu, 3 May 2012 14:50:39 +0000 (14:50 +0000)]
Added some functionalities for the test framework

11 years agoMade performance simulator work when using fulsim drm
Benjamin Segovia [Thu, 3 May 2012 14:34:09 +0000 (14:34 +0000)]
Made performance simulator work when using fulsim drm

11 years agoStarted to revmap the tests to make something easier and faster to use
Benjamin Segovia [Tue, 1 May 2012 23:28:49 +0000 (23:28 +0000)]
Started to revmap the tests to make something easier and faster to use

11 years agoMoved tests in a separate directory
Benjamin Segovia [Tue, 1 May 2012 20:08:30 +0000 (20:08 +0000)]
Moved tests in a separate directory

11 years agoStarted to implement unstructured branches in the compiler
Benjamin Segovia [Tue, 1 May 2012 20:01:42 +0000 (20:01 +0000)]
Started to implement unstructured branches in the compiler

11 years agoAdded first support for branches
Benjamin Segovia [Mon, 30 Apr 2012 19:04:15 +0000 (19:04 +0000)]
Added first support for branches

11 years agoAdded support for BlockIPs
Benjamin Segovia [Thu, 26 Apr 2012 22:25:25 +0000 (22:25 +0000)]
Added support for BlockIPs

11 years agoAdded first support for BlockIPs
Benjamin Segovia [Thu, 26 Apr 2012 22:25:11 +0000 (22:25 +0000)]
Added first support for BlockIPs

11 years agoAdded support for shorts in the simulator
Benjamin Segovia [Thu, 26 Apr 2012 20:30:04 +0000 (20:30 +0000)]
Added support for shorts in the simulator

11 years agoPlayed with SIMD8
Benjamin Segovia [Wed, 25 Apr 2012 22:37:42 +0000 (22:37 +0000)]
Played with SIMD8

11 years agoAlign driver code with new way to handle curbe
Benjamin Segovia [Wed, 25 Apr 2012 20:31:03 +0000 (20:31 +0000)]
Align driver code with new way to handle curbe

11 years agoSimplify the way we handle curbe
Benjamin Segovia [Wed, 25 Apr 2012 20:30:48 +0000 (20:30 +0000)]
Simplify the way we handle curbe

11 years agoImplemented a first quick and dirty mul32x32
Benjamin Segovia [Tue, 24 Apr 2012 20:32:46 +0000 (20:32 +0000)]
Implemented a first quick and dirty mul32x32

11 years agoMade flat address space finally work Fixed a bug in the state setting
Benjamin Segovia [Tue, 24 Apr 2012 20:31:38 +0000 (20:31 +0000)]
Made flat address space finally work Fixed a bug in the state setting

11 years agoAdded proper buffer big enough to map everything Still need to test that
Benjamin Segovia [Mon, 23 Apr 2012 19:51:33 +0000 (19:51 +0000)]
Added proper buffer big enough to map everything Still need to test that

11 years agoKept on cleaning and simplifying Gen encoding Made test_write_only and test_copy...
Benjamin Segovia [Mon, 23 Apr 2012 19:50:39 +0000 (19:50 +0000)]
Kept on cleaning and simplifying Gen encoding Made test_write_only and test_copy buffer pass with small buffers Still need to fix integer multiplication

11 years agoStarted to implement untyped reads / writes
Benjamin Segovia [Sun, 22 Apr 2012 19:20:05 +0000 (19:20 +0000)]
Started to implement untyped reads / writes

11 years agoKept on cleaning up the Gen ISA generation Implemented first simple instructions
Benjamin Segovia [Fri, 20 Apr 2012 19:24:57 +0000 (19:24 +0000)]
Kept on cleaning up the Gen ISA generation Implemented first simple instructions

11 years agoStarted serious work on Gen backend. Made a first stupid register allocator to start...
Benjamin Segovia [Wed, 18 Apr 2012 19:00:34 +0000 (19:00 +0000)]
Started serious work on Gen backend. Made a first stupid register allocator to start with something quick

11 years agoAdded a check to make special registers immutable
Benjamin Segovia [Wed, 18 Apr 2012 16:05:02 +0000 (16:05 +0000)]
Added a check to make special registers immutable

11 years agoMove backend/gen/brw* files to backend/
Benjamin Segovia [Wed, 18 Apr 2012 15:20:25 +0000 (15:20 +0000)]
Move backend/gen/brw* files to backend/

11 years agoKept on cleaning up code and simplifying Gen ISA backend
Benjamin Segovia [Wed, 18 Apr 2012 15:17:27 +0000 (15:17 +0000)]
Kept on cleaning up code and simplifying Gen ISA backend

11 years agoSimplified Gen instruction structures by removing unused fields from previous generations
Benjamin Segovia [Wed, 18 Apr 2012 14:02:03 +0000 (14:02 +0000)]
Simplified Gen instruction structures by removing unused fields from previous generations

11 years agoStarted to rename and revamp gen encoding classes
Benjamin Segovia [Wed, 18 Apr 2012 13:45:18 +0000 (13:45 +0000)]
Started to rename and revamp gen encoding classes

11 years agoSimplified even more the Gen backend code
Benjamin Segovia [Wed, 18 Apr 2012 13:22:12 +0000 (13:22 +0000)]
Simplified even more the Gen backend code

11 years agoRemoved unused file
Benjamin Segovia [Wed, 18 Apr 2012 12:50:56 +0000 (12:50 +0000)]
Removed unused file

11 years agoCleaned up even more code in Gen code generation
Benjamin Segovia [Wed, 18 Apr 2012 12:50:32 +0000 (12:50 +0000)]
Cleaned up even more code in Gen code generation

11 years agoStarted to clean up backend code generation
Benjamin Segovia [Wed, 18 Apr 2012 10:19:32 +0000 (10:19 +0000)]
Started to clean up backend code generation

11 years agoPlayed with test_write_only
Benjamin Segovia [Mon, 16 Apr 2012 20:01:23 +0000 (20:01 +0000)]
Played with test_write_only

11 years agoFirst implementation of branches in the simulator
Benjamin Segovia [Mon, 16 Apr 2012 18:44:44 +0000 (18:44 +0000)]
First implementation of branches in the simulator

11 years agoRemoved unused binaries from windows compiler
Benjamin Segovia [Mon, 16 Apr 2012 18:37:55 +0000 (18:37 +0000)]
Removed unused binaries from windows compiler

11 years agoAdded first support for compilation from source
Benjamin Segovia [Mon, 16 Apr 2012 08:09:58 +0000 (01:09 -0700)]
Added first support for compilation from source

11 years agoAdded first support for compilation from source. Quick and dirty (since uses system...
Benjamin Segovia [Mon, 16 Apr 2012 08:09:16 +0000 (01:09 -0700)]
Added first support for compilation from source. Quick and dirty (since uses system()) but works OK

11 years agoAdded an option to get the next and previous instructions across basic blocks
Benjamin Segovia [Mon, 16 Apr 2012 01:28:57 +0000 (18:28 -0700)]
Added an option to get the next and previous instructions across basic blocks

11 years agoAdded quake like console variables that simply ready the environment variables
Benjamin Segovia [Mon, 16 Apr 2012 01:00:26 +0000 (18:00 -0700)]
Added quake like console variables that simply ready the environment variables

11 years agoAdded a new copy buffer test
Benjamin Segovia [Fri, 13 Apr 2012 18:43:46 +0000 (18:43 +0000)]
Added a new copy buffer test

11 years agoMade the first kernels work with the simulators Added some debug variables
Benjamin Segovia [Fri, 13 Apr 2012 18:41:56 +0000 (18:41 +0000)]
Made the first kernels work with the simulators Added some debug variables

11 years agoRemoved useless EOL at the end of the files
Benjamin Segovia [Fri, 13 Apr 2012 10:13:01 +0000 (10:13 +0000)]
Removed useless EOL at the end of the files

11 years agos/getSrcIndex/getSrc/g s/getDstIndex/getDst/g
Benjamin Segovia [Fri, 13 Apr 2012 10:10:18 +0000 (10:10 +0000)]
s/getSrcIndex/getSrc/g s/getDstIndex/getDst/g

G: changed src/utest/utest_vector.cpp

11 years agos/getSrc()/getSrcData()/g s/getDst()/getDstData()/g
Benjamin Segovia [Fri, 13 Apr 2012 10:07:00 +0000 (10:07 +0000)]
s/getSrc()/getSrcData()/g s/getDst()/getDstData()/g

11 years agoRemove function parameters from get{Src,Dst}Index since we can deduce it from the...
Benjamin Segovia [Fri, 13 Apr 2012 10:03:50 +0000 (10:03 +0000)]
Remove function parameters from get{Src,Dst}Index since we can deduce it from the parent basic block

11 years agoAdded curbe support in the gpgpu simulator
Benjamin Segovia [Thu, 12 Apr 2012 18:53:20 +0000 (18:53 +0000)]
Added curbe support in the gpgpu simulator

11 years agoRecompiled kernels with the new stdlib Added definition and use sets per register
Benjamin Segovia [Thu, 12 Apr 2012 18:51:11 +0000 (18:51 +0000)]
Recompiled kernels with the new stdlib Added definition and use sets per register

11 years agodummy change
Benjamin Segovia [Wed, 11 Apr 2012 14:15:08 +0000 (14:15 +0000)]
dummy change

11 years agoDummy change
Benjamin Segovia [Wed, 11 Apr 2012 14:13:10 +0000 (14:13 +0000)]
Dummy change

11 years agoFixed scatter / gather
Benjamin Segovia [Tue, 10 Apr 2012 17:22:27 +0000 (17:22 +0000)]
Fixed scatter / gather

11 years agoFixed some back slash crap when stringify the simulator c++ files
Benjamin Segovia [Tue, 10 Apr 2012 09:57:48 +0000 (02:57 -0700)]
Fixed some back slash crap when stringify the simulator c++ files

11 years agoCompletely redesigned the vector API for the simulator. Now it is properly untyped...
Benjamin Segovia [Tue, 10 Apr 2012 09:48:56 +0000 (02:48 -0700)]
Completely redesigned the vector API for the simulator. Now it is properly untyped as the Gen IR is

11 years agoAdded more stuff in the vector library
Benjamin Segovia [Mon, 9 Apr 2012 18:39:07 +0000 (18:39 +0000)]
Added more stuff in the vector library

11 years agoStarted to implement the vector library for the c++ backend
Benjamin Segovia [Mon, 9 Apr 2012 10:59:54 +0000 (03:59 -0700)]
Started to implement the vector library for the c++ backend

11 years agoKept on experimenting with c++ backend
Benjamin Segovia [Mon, 9 Apr 2012 10:58:55 +0000 (03:58 -0700)]
Kept on experimenting with c++ backend

11 years agoAdded more pieces for the SW emulation of the stack
Benjamin Segovia [Mon, 9 Apr 2012 05:53:00 +0000 (22:53 -0700)]
Added more pieces for the SW emulation of the stack

11 years agoMade most of the very basic pieces for the simulation parts
Benjamin Segovia [Mon, 9 Apr 2012 05:51:40 +0000 (22:51 -0700)]
Made most of the very basic pieces for the simulation parts

11 years agoStarted to implement curbe support
Benjamin Segovia [Sun, 8 Apr 2012 03:34:51 +0000 (20:34 -0700)]
Started to implement curbe support

11 years agoFixed issue with new / delete operators
Benjamin Segovia [Sat, 7 Apr 2012 00:06:16 +0000 (17:06 -0700)]
Fixed issue with new / delete operators

11 years agoFix name of callback initializer
Benjamin Segovia [Sat, 7 Apr 2012 00:05:29 +0000 (17:05 -0700)]
Fix name of callback initializer

11 years agoFixed compilation with the current compiler code
Benjamin Segovia [Thu, 5 Apr 2012 19:26:26 +0000 (19:26 +0000)]
Fixed compilation with the current compiler code

11 years agoRevamp the backend classes to be easily able to output Gen or simulator code
Benjamin Segovia [Thu, 5 Apr 2012 19:25:29 +0000 (19:25 +0000)]
Revamp the backend classes to be easily able to output Gen or simulator code

11 years agoStarted to handle cl_mem regular buffers
Benjamin Segovia [Wed, 4 Apr 2012 17:57:11 +0000 (17:57 +0000)]
Started to handle cl_mem regular buffers

11 years agoImproved and simplify file and class naming for the code generation step
Benjamin Segovia [Wed, 4 Apr 2012 17:00:22 +0000 (17:00 +0000)]
Improved and simplify file and class naming for the code generation step

11 years agoStarted to simplify backend file directory
Benjamin Segovia [Wed, 4 Apr 2012 16:53:39 +0000 (16:53 +0000)]
Started to simplify backend file directory

11 years agoFixed the getCode kernel function for the simulator
Benjamin Segovia [Wed, 4 Apr 2012 15:54:08 +0000 (15:54 +0000)]
Fixed the getCode kernel function for the simulator

11 years agoMade the EOT code run on the simulator
Benjamin Segovia [Wed, 4 Apr 2012 15:53:49 +0000 (15:53 +0000)]
Made the EOT code run on the simulator

11 years agoAdded a script to support the performance simulator
Benjamin Segovia [Tue, 3 Apr 2012 20:32:03 +0000 (20:32 +0000)]
Added a script to support the performance simulator

11 years agoImplemented some pieces of the GenIR to c++ conversion used by the performance simulator
Benjamin Segovia [Tue, 3 Apr 2012 20:31:11 +0000 (20:31 +0000)]
Implemented some pieces of the GenIR to c++ conversion used by the performance simulator

11 years agoMade a better c-style interface Improved the base interfaces for both programs and...
Benjamin Segovia [Tue, 3 Apr 2012 17:40:41 +0000 (17:40 +0000)]
Made a better c-style interface Improved the base interfaces for both programs and kernels

11 years agoAdapted properly the driver to the new gen compiler interface
Benjamin Segovia [Tue, 3 Apr 2012 17:39:46 +0000 (17:39 +0000)]
Adapted properly the driver to the new gen compiler interface

11 years agoPut sim and gen files into a common sub-directory
Benjamin Segovia [Tue, 3 Apr 2012 15:44:18 +0000 (15:44 +0000)]
Put sim and gen files into a common sub-directory

11 years agoStarted to implement the interface for the compiler. This will allow us to output...
Benjamin Segovia [Tue, 3 Apr 2012 15:38:45 +0000 (15:38 +0000)]
Started to implement the interface for the compiler. This will allow us to output either Gen ISA or the performance simulator code

11 years agoFixed memory leaks in llvm_to_gen pass
Benjamin Segovia [Fri, 30 Mar 2012 17:45:50 +0000 (17:45 +0000)]
Fixed memory leaks in llvm_to_gen pass

11 years agoAdded all the call backs to support the simulator. The simulator does nothing but...
Benjamin Segovia [Fri, 30 Mar 2012 17:45:13 +0000 (17:45 +0000)]
Added all the call backs to support the simulator. The simulator does nothing but works now. Fixed several memory leaks in the simulator code

11 years agoMade the structure naming more consistent
Benjamin Segovia [Thu, 29 Mar 2012 17:44:38 +0000 (17:44 +0000)]
Made the structure naming more consistent

11 years agoRemoved all direct dependencies to the intel driver (ie files contained in intel...
Benjamin Segovia [Thu, 29 Mar 2012 17:26:36 +0000 (17:26 +0000)]
Removed all direct dependencies to the intel driver (ie files contained in intel/) and replaced them by dependencies to the call backs. This should allow an easier integration with the performance simulator

11 years agoStarted to rename all driver files to make the naming more consistent
Benjamin Segovia [Thu, 29 Mar 2012 13:23:08 +0000 (13:23 +0000)]
Started to rename all driver files to make the naming more consistent

11 years agoAdded more call backs to abstract the driver back end
Benjamin Segovia [Thu, 29 Mar 2012 13:20:00 +0000 (13:20 +0000)]
Added more call backs to abstract the driver back end

11 years agoStarted to implement the clean interface to support both HW and simulator
Benjamin Segovia [Wed, 28 Mar 2012 19:18:05 +0000 (19:18 +0000)]
Started to implement the clean interface to support both HW and simulator

11 years agoMade EOT work correctly Extended public API
Benjamin Segovia [Wed, 28 Mar 2012 18:00:03 +0000 (18:00 +0000)]
Made EOT work correctly Extended public API

11 years agoMade EOT work on simulator
Benjamin Segovia [Wed, 28 Mar 2012 17:58:50 +0000 (17:58 +0000)]
Made EOT work on simulator

11 years agoAdded more functions to interface Gen programs
Benjamin Segovia [Wed, 21 Mar 2012 18:08:32 +0000 (18:08 +0000)]
Added more functions to interface Gen programs

11 years agoStarted to inject the new compiler API
Benjamin Segovia [Wed, 21 Mar 2012 18:07:40 +0000 (18:07 +0000)]
Started to inject the new compiler API

11 years agoRemoved Gen6 Stripped out all dependencies from previous compiler Added a dependency...
Benjamin Segovia [Wed, 21 Mar 2012 17:28:25 +0000 (17:28 +0000)]
Removed Gen6 Stripped out all dependencies from previous compiler Added a dependency on the new compiler

11 years agoStarted to implement external C interface for the compiler Output a first dummy program
Benjamin Segovia [Wed, 21 Mar 2012 16:58:59 +0000 (16:58 +0000)]
Started to implement external C interface for the compiler Output a first dummy program

11 years agoStarted to implement Gen code generation
Benjamin Segovia [Wed, 21 Mar 2012 03:57:42 +0000 (20:57 -0700)]
Started to implement Gen code generation

11 years agostarted to implement gen encoding
Benjamin Segovia [Tue, 20 Mar 2012 09:54:20 +0000 (02:54 -0700)]
started to implement gen encoding

11 years agoAdded first support for constant vector Recompiled all ocl kernels Fixed problem...
Benjamin Segovia [Tue, 20 Mar 2012 02:11:28 +0000 (19:11 -0700)]
Added first support for constant vector Recompiled all ocl kernels Fixed problem when a block does not end with a branch Added proper support for special registers and function argument in liveness analysis and function DAG creation

11 years agoFixed several bugs in the DAG creation code
Benjamin Segovia [Mon, 19 Mar 2012 12:10:44 +0000 (05:10 -0700)]
Fixed several bugs in the DAG creation code

11 years agoFixed a bug in memory debugger (...) Fixed a stupid bug while releasing FunctionDAG
Benjamin Segovia [Sat, 17 Mar 2012 11:07:37 +0000 (04:07 -0700)]
Fixed a bug in memory debugger (...) Fixed a stupid bug while releasing FunctionDAG

11 years agoFixed auto keyword use
Benjamin Segovia [Sat, 17 Mar 2012 07:21:05 +0000 (00:21 -0700)]
Fixed auto keyword use

11 years agoStarted to fix problem with blocks that do not end with BRA instructions
Benjamin Segovia [Fri, 16 Mar 2012 19:38:57 +0000 (19:38 +0000)]
Started to fix problem with blocks that do not end with BRA instructions

11 years agoKept on implementing full function DAG Added a monitor for the memory consumption
Benjamin Segovia [Fri, 16 Mar 2012 19:26:45 +0000 (19:26 +0000)]
Kept on implementing full function DAG Added a monitor for the memory consumption

11 years agoStarted to implement the iterative data flow pass to build the global DAG
Benjamin Segovia [Fri, 16 Mar 2012 11:04:45 +0000 (04:04 -0700)]
Started to implement the iterative data flow pass to build the global DAG

11 years agoStarted to implement values and ud | du chains
Benjamin Segovia [Thu, 15 Mar 2012 19:03:19 +0000 (19:03 +0000)]
Started to implement values and ud | du chains

11 years agovalue.hpp -> immediate.hpp value is going to be a real "Value" (as compiler values)
Benjamin Segovia [Thu, 15 Mar 2012 14:34:25 +0000 (14:34 +0000)]
value.hpp -> immediate.hpp value is going to be a real "Value" (as compiler values)

11 years agoAdded proper bookkeeping for the argument types Finished the liveness pretty printer
Benjamin Segovia [Thu, 15 Mar 2012 14:15:33 +0000 (14:15 +0000)]
Added proper bookkeeping for the argument types Finished the liveness pretty printer

11 years agoStarted to implement pretty printer for the liveness analysis
Benjamin Segovia [Thu, 15 Mar 2012 05:24:54 +0000 (22:24 -0700)]
Started to implement pretty printer for the liveness analysis

11 years agoStarted to implement liveness analysis
Benjamin Segovia [Tue, 13 Mar 2012 19:33:57 +0000 (19:33 +0000)]
Started to implement liveness analysis

11 years agoStarted to implement liveness analysis
Benjamin Segovia [Tue, 13 Mar 2012 07:59:41 +0000 (00:59 -0700)]
Started to implement liveness analysis

11 years agoRemoved unused returnStruct field from function Included stdlib.h for all files
Benjamin Segovia [Tue, 13 Mar 2012 02:26:24 +0000 (19:26 -0700)]
Removed unused returnStruct field from function Included stdlib.h for all files

11 years agoMade the instructions double-chain list elements Renamed the register family s/Regist...
Benjamin Segovia [Tue, 13 Mar 2012 01:36:14 +0000 (18:36 -0700)]
Made the instructions double-chain list elements Renamed the register family s/RegisterData::Family/RegisterFamily/ s/RegisterData::/FAMILY_/

11 years agoAdded new test
Benjamin Segovia [Mon, 12 Mar 2012 06:14:02 +0000 (23:14 -0700)]
Added new test