-
Notifications
You must be signed in to change notification settings - Fork 129
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Draft PR] Graphcore backend support. #1659
base: main
Are you sure you want to change the base?
Commits on Jul 18, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 9ea89e7 - Browse repository at this point
Copy the full SHA 9ea89e7View commit details
Commits on Jul 19, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 46a3c07 - Browse repository at this point
Copy the full SHA 46a3c07View commit details
Commits on Jul 20, 2024
-
add optimization, helper file-check_external_library_used.py, this is…
… from the documentation online to check what library is present
Configuration menu - View commit details
-
Copy full SHA for 809048c - Browse repository at this point
Copy the full SHA 809048cView commit details
Commits on Jul 22, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 5c68cce - Browse repository at this point
Copy the full SHA 5c68cceView commit details
Commits on Jul 24, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 9a210f4 - Browse repository at this point
Copy the full SHA 9a210f4View commit details -
Tried using a custom codegen following the tutorial guide on dace web…
…page, this commit didn't work. They also have something similar - adding Tensor core backend from Nvidia as an external codegen
Configuration menu - View commit details
-
Copy full SHA for 8763d54 - Browse repository at this point
Copy the full SHA 8763d54View commit details -
Configuration menu - View commit details
-
Copy full SHA for e5ae4ee - Browse repository at this point
Copy the full SHA e5ae4eeView commit details -
Configuration menu - View commit details
-
Copy full SHA for a727cb9 - Browse repository at this point
Copy the full SHA a727cb9View commit details
Commits on Jul 25, 2024
-
Configuration menu - View commit details
-
Copy full SHA for a575ef8 - Browse repository at this point
Copy the full SHA a575ef8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5934537 - Browse repository at this point
Copy the full SHA 5934537View commit details -
Configuration menu - View commit details
-
Copy full SHA for 01c8bf5 - Browse repository at this point
Copy the full SHA 01c8bf5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 429737d - Browse repository at this point
Copy the full SHA 429737dView commit details -
Revert "Implement the LoopyLoop custom codegen on Map, will revert in…
… the next commit" This reverts commit 429737d.
Configuration menu - View commit details
-
Copy full SHA for 77a7388 - Browse repository at this point
Copy the full SHA 77a7388View commit details -
Configuration menu - View commit details
-
Copy full SHA for fa78938 - Browse repository at this point
Copy the full SHA fa78938View commit details -
Configuration menu - View commit details
-
Copy full SHA for d1af971 - Browse repository at this point
Copy the full SHA d1af971View commit details
Commits on Jul 26, 2024
-
Configuration menu - View commit details
-
Copy full SHA for c3171fb - Browse repository at this point
Copy the full SHA c3171fbView commit details -
Configuration menu - View commit details
-
Copy full SHA for ed6f63e - Browse repository at this point
Copy the full SHA ed6f63eView commit details -
some debug comments, found control_flow_tree code, ipu.py has a lot o…
…f experimental changes which try to understand the SDFGIR and the changes to make IPUCodeGen registry into the frame_targets.
Configuration menu - View commit details
-
Copy full SHA for c30f1f2 - Browse repository at this point
Copy the full SHA c30f1f2View commit details
Commits on Jul 27, 2024
-
1. Fix IPUCodegen {used_targets}-{frame} error.
The fix was to call 'self._frame.generate_state' recursively from ipu.generate_state. This goes into framecode.py and calls the recursive function which traverses substates and calls the codegen respectively. Based on this learning a point to note is to remember to call the recursive functions inside generate_*() functions. example is 'self._dispatcher.dispatch_subgraph' in 'generate_scope'. 2. Fix ipu/ipu 2 folders were created recursively. Fix - Remove 'target_type='ipu' from CodeObject.
Configuration menu - View commit details
-
Copy full SHA for 78f19af - Browse repository at this point
Copy the full SHA 78f19afView commit details
Commits on Jul 30, 2024
-
mpi_scalar.py, some debug comments, now move on to cpu only, don't lo…
…ok right now into GPU/MPI
Configuration menu - View commit details
-
Copy full SHA for af38f47 - Browse repository at this point
Copy the full SHA af38f47View commit details -
Configuration menu - View commit details
-
Copy full SHA for 908a0f9 - Browse repository at this point
Copy the full SHA 908a0f9View commit details
Commits on Jul 31, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 73fc0bb - Browse repository at this point
Copy the full SHA 73fc0bbView commit details
Commits on Aug 2, 2024
-
[WIP] Register array, copy, and add some code for generating the head…
…ers and the IPUDevice, this goes in __init__/exit part and not in the SDFG
Configuration menu - View commit details
-
Copy full SHA for c997147 - Browse repository at this point
Copy the full SHA c997147View commit details
Commits on Aug 4, 2024
-
use dace.DeviceType.IPU to check and emit headers in framecode, not t…
…ested might be buggy
Configuration menu - View commit details
-
Copy full SHA for 01d0658 - Browse repository at this point
Copy the full SHA 01d0658View commit details -
Configuration menu - View commit details
-
Copy full SHA for afbbdd1 - Browse repository at this point
Copy the full SHA afbbdd1View commit details -
Configuration menu - View commit details
-
Copy full SHA for cff27f4 - Browse repository at this point
Copy the full SHA cff27f4View commit details
Commits on Aug 5, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 3715101 - Browse repository at this point
Copy the full SHA 3715101View commit details
Commits on Aug 6, 2024
-
Fix the issue with checking if the device targer is IPU.
Code snippet below checks if the file is frame(.cpp vs .cu) if so matches target and dumps the headers. ``` if backend == 'frame': #on cpu.cpp file + for target in self.targets: + if target.target_name == 'ipu': ``` Some cosmetic changes removed the prints.
Configuration menu - View commit details
-
Copy full SHA for c9c64dd - Browse repository at this point
Copy the full SHA c9c64ddView commit details
Commits on Aug 13, 2024
-
Comment the IPU type doesn't work as needs frontend support probably,…
… add more handcrafted tests, remove the header generation from framecode.py and add into ipu.py
Configuration menu - View commit details
-
Copy full SHA for 30178f0 - Browse repository at this point
Copy the full SHA 30178f0View commit details -
Copied codegen from cpu.py, tweaked it and understood the structure o…
…f how cpu codegen works for a tasklet
Configuration menu - View commit details
-
Copy full SHA for 82d193d - Browse repository at this point
Copy the full SHA 82d193dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8416d82 - Browse repository at this point
Copy the full SHA 8416d82View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6a254c3 - Browse repository at this point
Copy the full SHA 6a254c3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3d6e96f - Browse repository at this point
Copy the full SHA 3d6e96fView commit details -
Revert "Use IPU from StorageType in sdfg.add_scalar"
This reverts commit 6a254c3.
Configuration menu - View commit details
-
Copy full SHA for 6efc81e - Browse repository at this point
Copy the full SHA 6efc81eView commit details -
Replace pre_tasklet with generate_read, former comes from cpu.py late…
…r is from sve/codegen.py the later is much readable and simpler to understand
Configuration menu - View commit details
-
Copy full SHA for cc02d9b - Browse repository at this point
Copy the full SHA cc02d9bView commit details
Commits on Aug 23, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 0356005 - Browse repository at this point
Copy the full SHA 0356005View commit details
Commits on Aug 24, 2024
-
Created the most simplest code for codegen of allocate_array and disp…
…atch_copy. Allocate memory on device/host Copy memory from one to another Used Storage=IPU_Memory
Configuration menu - View commit details
-
Copy full SHA for 5596ef8 - Browse repository at this point
Copy the full SHA 5596ef8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2a424f3 - Browse repository at this point
Copy the full SHA 2a424f3View commit details -
1. register_array_dispatcher -> allocate_array/deallocate_array 2. register_copy_dispatcher -> copy_memory Notes: using ipu_storage vs gpu_storage breaks. links with last 2 commits
Configuration menu - View commit details
-
Copy full SHA for cbfdc42 - Browse repository at this point
Copy the full SHA cbfdc42View commit details -
Configuration menu - View commit details
-
Copy full SHA for 623ab3b - Browse repository at this point
Copy the full SHA 623ab3bView commit details
Commits on Aug 25, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 6cd24ea - Browse repository at this point
Copy the full SHA 6cd24eaView commit details -
Configuration menu - View commit details
-
Copy full SHA for e6610da - Browse repository at this point
Copy the full SHA e6610daView commit details -
Configuration menu - View commit details
-
Copy full SHA for a426141 - Browse repository at this point
Copy the full SHA a426141View commit details -
Implement setTileMapping using 'mapdataontile'
Intelligently maps the data on tiles based on scalar/array nodes and maps to setTileMapping 1. Mapping a vertex will also be similar 2. This the not the most efficient mapping, currently arrays are just mapped equally on 10 tiles. 3. Add new test - simplified
Configuration menu - View commit details
-
Copy full SHA for 89722c3 - Browse repository at this point
Copy the full SHA 89722c3View commit details
Commits on Aug 28, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 06d5dc3 - Browse repository at this point
Copy the full SHA 06d5dc3View commit details
Commits on Aug 29, 2024
-
1. Fix compilations issues from the previous commit.
2. Modify test to be "FLOAT" and not "DOUBLE" 3. Add new interface file which helps to add #include<> vs #include "".
Configuration menu - View commit details
-
Copy full SHA for 2961353 - Browse repository at this point
Copy the full SHA 2961353View commit details -
Configuration menu - View commit details
-
Copy full SHA for 75821d7 - Browse repository at this point
Copy the full SHA 75821d7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1bb6ead - Browse repository at this point
Copy the full SHA 1bb6eadView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3b47aae - Browse repository at this point
Copy the full SHA 3b47aaeView commit details -
Fix curly braces not found in code as python f{} strings don't interp…
…ret it use {{ instead
Configuration menu - View commit details
-
Copy full SHA for 7ceb866 - Browse repository at this point
Copy the full SHA 7ceb866View commit details
Commits on Aug 31, 2024
-
Fix 1. Compilation error (C++14/C++11). 2. Fix headers issue
during compilation - extra ../ present 3. Fix libraries issue partially, almost there after this fix Fix IPUConfig.cmake, ipu-config.cmake not found error, was wrongly using IPU but poplar libraries start with poplar
Configuration menu - View commit details
-
Copy full SHA for 3fa7a55 - Browse repository at this point
Copy the full SHA 3fa7a55View commit details
Commits on Sep 1, 2024
-
Add arguments to the library, still we are not able to connect the in…
…puts to the library and the inputs to SDFG, seems like we need to dig into some other ways of allocation of variables and such details.
Configuration menu - View commit details
-
Copy full SHA for 63fad92 - Browse repository at this point
Copy the full SHA 63fad92View commit details
Commits on Sep 2, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 3bae655 - Browse repository at this point
Copy the full SHA 3bae655View commit details
Commits on Sep 13, 2024
-
changes to test, ipu_test is now the new base, added state dump, next…
… one generates the golden code for poplar.
Configuration menu - View commit details
-
Copy full SHA for 15d8023 - Browse repository at this point
Copy the full SHA 15d8023View commit details -
1. Insert all the golden file code from Poplar example.
2. In the Host/ side the pipeline + functions are present. 3. The pipeline is not yet set, next patch might set it. 4. Lots of bugs still 5. Cerete Host/ Device/ files along with cpu/
Configuration menu - View commit details
-
Copy full SHA for 5207d2d - Browse repository at this point
Copy the full SHA 5207d2dView commit details -
Configuration menu - View commit details
-
Copy full SHA for f6ac62f - Browse repository at this point
Copy the full SHA f6ac62fView commit details -
Revert "Add arguments to the library, still we are not able to connec…
…t the inputs to the library and the inputs to SDFG, seems like we need to dig into some other ways of allocation of variables and such details." Reverting this as this is making it hard to understand a node as of now. This reverts commit 63fad92.
Configuration menu - View commit details
-
Copy full SHA for e563d47 - Browse repository at this point
Copy the full SHA e563d47View commit details
Commits on Sep 15, 2024
-
Add library node, register it, modify test for the same, goal is to h…
…ave IPUCodegen + library codegen together.
Configuration menu - View commit details
-
Copy full SHA for 940f6bc - Browse repository at this point
Copy the full SHA 940f6bcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2ffc0c9 - Browse repository at this point
Copy the full SHA 2ffc0c9View commit details
Commits on Sep 16, 2024
-
Configuration menu - View commit details
-
Copy full SHA for ad13cfc - Browse repository at this point
Copy the full SHA ad13cfcView commit details
Commits on Sep 19, 2024
-
Turn off the node dispatcher and generate a state using some code fro…
…m fpga and cuda. This creates a codegen which dumps both library + nodes
Configuration menu - View commit details
-
Copy full SHA for 6d5189f - Browse repository at this point
Copy the full SHA 6d5189fView commit details
Commits on Sep 20, 2024
-
Revert "Supress the building process"
This reverts commit 2ffc0c9.
Configuration menu - View commit details
-
Copy full SHA for e3193c4 - Browse repository at this point
Copy the full SHA e3193c4View commit details
Commits on Sep 30, 2024
-
Move the headers to a common runtime include/ folder dace/runtime/inc…
…lude, debugging issue on real IPU machine, pushing incomplete changes"
Configuration menu - View commit details
-
Copy full SHA for 6ff38a6 - Browse repository at this point
Copy the full SHA 6ff38a6View commit details -
Sameeran joshi committed
Sep 30, 2024 Configuration menu - View commit details
-
Copy full SHA for ba32abe - Browse repository at this point
Copy the full SHA ba32abeView commit details -
Resolve errors in compilation when using includes from runtime libraries
Sameeran joshi committedSep 30, 2024 Configuration menu - View commit details
-
Copy full SHA for eeaa7d1 - Browse repository at this point
Copy the full SHA eeaa7d1View commit details -
Fix bug - wasn't generating proper kernel names, was not generic, tes…
…ted on another testcase
Sameeran joshi committedSep 30, 2024 Configuration menu - View commit details
-
Copy full SHA for 1a21f8e - Browse repository at this point
Copy the full SHA 1a21f8eView commit details
Commits on Oct 3, 2024
-
Support addVariables() and mapLinearlyOnTiles(), currently works only…
… for transients and scope must be inside state
Sameeran joshi committedOct 3, 2024 Configuration menu - View commit details
-
Copy full SHA for 9290acd - Browse repository at this point
Copy the full SHA 9290acdView commit details
Commits on Oct 10, 2024
-
Configuration menu - View commit details
-
Copy full SHA for d1971bd - Browse repository at this point
Copy the full SHA d1971bdView commit details -
Fix bug in is_ipu_kernel, was failing for tests where the first acces…
…snode is not IPU_Memory
Configuration menu - View commit details
-
Copy full SHA for 835bd81 - Browse repository at this point
Copy the full SHA 835bd81View commit details
Commits on Oct 11, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 0e43bb6 - Browse repository at this point
Copy the full SHA 0e43bb6View commit details -
Try adding generate_node() - fails as the predicate fails, as there i…
…s no schedule= in code
Configuration menu - View commit details
-
Copy full SHA for 1164d69 - Browse repository at this point
Copy the full SHA 1164d69View commit details
Commits on Oct 17, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 530e298 - Browse repository at this point
Copy the full SHA 530e298View commit details
Commits on Oct 18, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 1334015 - Browse repository at this point
Copy the full SHA 1334015View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7e54d70 - Browse repository at this point
Copy the full SHA 7e54d70View commit details
Commits on Oct 20, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 3b1f4c7 - Browse repository at this point
Copy the full SHA 3b1f4c7View commit details
Commits on Oct 21, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 7537466 - Browse repository at this point
Copy the full SHA 7537466View commit details -
Most of the codegen is correct, generate_node() doesn't trigger, copy…
…_memory() triggers
Configuration menu - View commit details
-
Copy full SHA for 6db5588 - Browse repository at this point
Copy the full SHA 6db5588View commit details