• Tristan Webb's avatar
    Drwebb/gpu runtime boilerplate (#314) · feab44b5
    Tristan Webb authored
    * Simple boilerplate for GPU runtime files
    
      - GPUBackend
      - GPU ExternalFunction
      - GPUManager
      - GPUCallFrame
    
    * Test for construction all GPU runtime classes
    
    * Comment out calls, constructors haven't been defined
    
    * Clang CUDA source example to later test compiling
    
    Clang cuda example from:
    https://gist.github.com/anonymous/855e277884eb6b388cd2f00d956c2fd4
    
    * Initial nvptx compiler copied from CPU compiler sources
    
    * Define FunctionMap and Instruction for gpu external function
    
    * Rename Compiler -> NVPTXCompiler for gpu compile. Add call to compile for test
    
    * Rename StaticCompiler -> NVPTXStaticCompiler for GPU code gen
    
    * CAdd nvptx_compiler and nvptx_execution_engine to gpu sources
    
    * Compiling source unit test using hardcoded PTX
    
    * (a+b)*c test for GPU
    
    * WIP Fix compile
    
    * rmed accidentally included file
    
    * Fix compile, and LLVM link errosr from nvptx_compiler.cpp
    
    * Stub out parts needed for GPU manager
    
    * Test GPU runtime method stubs
    
    * Cleanup
    
    * Add GPU runtime to same cmake block as GPU, include CUDA headers if GPU enabled
    
    * Kill reflexive assertion
    
    * change GPU naming convention to match CPU
    
    * Snake case functions and identifiers in test case
    
    * Change element type to match changes in master
    
    * Make CUDA headers accessible for codegen with GPU transformer
    
    * clang-format
    
    * apply-code-format
    feab44b5
Name
Last commit
Last update
..
models Loading commit data...
ref_generators Loading commit data...
util Loading commit data...
CMakeLists.txt Loading commit data...
autodiff.in.cpp Loading commit data...
backend_performance.cpp Loading commit data...
backend_test.in.cpp Loading commit data...
build_graph.cpp Loading commit data...
builder.cpp Loading commit data...
builder_autobroadcast.cpp Loading commit data...
builder_xla.cpp Loading commit data...
codegen.cpp Loading commit data...
convolution_test.in.cpp Loading commit data...
copy.cpp Loading commit data...
cudnn.cpp Loading commit data...
eigen.cpp Loading commit data...
element_type.cpp Loading commit data...
file_util.cpp Loading commit data...
input_output_assign.cpp Loading commit data...
main.cpp Loading commit data...
mkldnn.cpp Loading commit data...
ngraph.cpp Loading commit data...
op.cpp Loading commit data...
pass_liveness.cpp Loading commit data...
pass_manager.cpp Loading commit data...
pass_memory_layout.cpp Loading commit data...
pattern.cpp Loading commit data...
serialize.cpp Loading commit data...
shape.cpp Loading commit data...
tensor.cpp Loading commit data...
topological_sort.cpp Loading commit data...
type_prop.cpp Loading commit data...
update_reference.sh Loading commit data...
util.cpp Loading commit data...
uuid.cpp Loading commit data...