This is an archive of the discontinued LLVM Phabricator instance.

[release 5.0][Release Notes] Polly-ACC works with Julia
ClosedPublic

Authored by singam-sanjay on Jul 29 2017, 11:49 AM.

Diff Detail

Repository
rL LLVM

Event Timeline

singam-sanjay created this revision.Jul 29 2017, 11:49 AM

I'm using git-svn. Would doing a arc patch D36050 on the release_50 branch followed by a merge and then git svn dcommit push it to llvm.org/git/polly.git ?

singam-sanjay added a project: Restricted Project.

restrict to 80 columns.

@grosser could you please approve ? Also

I'm using git-svn. Would doing a arc patch D36050 on the release_50 branch followed by a merge and then git svn dcommit push it to llvm.org/git/polly.git ?

Is that ^ how I should commit these changes ?

I got the following output on git svn dcommit -n,

Committing to https://llvm.org/svn/llvm-project/polly/trunk ...
diff-tree ffb107e3a353ca4745cb311c12b033d6a42a3768~1 ffb107e3a353ca4745cb311c12b033d6a42a3768
diff-tree c00e4a15c09919f5166542084efe92fc867aadce~1 c00e4a15c09919f5166542084efe92fc867aadce
diff-tree 8566f2a0909d96d1ba8fd2d8638eac6e143ec561~1 8566f2a0909d96d1ba8fd2d8638eac6e143ec561
diff-tree 876f24448ed16bd6676bb8b83af029c5b47c6d33~1 876f24448ed16bd6676bb8b83af029c5b47c6d33
diff-tree 8fd430b4b4cf9e40334fecb638b2383e0fca27dd~1 8fd430b4b4cf9e40334fecb638b2383e0fca27dd

ffb107 is where release_50 branched off from master. Is this what I should be getting ?

I'm comitting on the release_50 branch only.

Here are the commands I used.

➜  polly git:(release_50) arc patch D36050
 INFO  Base commit is not in local repository; trying to fetch.
Created and checked out branch arcpatch-D36050.
Checking patch docs/ReleaseNotes.rst...
Applied patch docs/ReleaseNotes.rst cleanly.
 OKAY  Successfully committed patch.
➜  polly git:(arcpatch-D36050) git checkout release_50 
Switched to branch 'release_50'
Your branch is up-to-date with 'origin/release_50'.
➜  polly git:(release_50) git rebase arcpatch-D36050                               
First, rewinding head to replay your work on top of it...
Fast-forwarded release_50 to arcpatch-D36050.
➜  polly git:(release_50) git diff HEAD~1
diff --git a/docs/ReleaseNotes.rst b/docs/ReleaseNotes.rst
index b778d0b..2ad4f4a 100644
--- a/docs/ReleaseNotes.rst
+++ b/docs/ReleaseNotes.rst
@@ -88,3 +88,10 @@ Polly now uses the LLVM OptimizationDiagnosticInfo API for emitting diagnostic r
 This allows Polly remarks to appear in the yaml optimization record when compiling
 with the flag -fsave-optimization-record. This also allow Polly remarks to appear in the opt-viewer
 tool, allowing for remarks to be viewed next to the source code, and sorted by hotness.
+
+--------------------------
+Polly-ACC works with Julia
+--------------------------
+
+Polly can now offload Julia to GPUs. This feature is enabled by setting the 
+USE_POLLY_ACC variable to 1, i.e. USE_POLLY_ACC:=1.

What mistake am I making ?

Try:

rm -rf .git/svn
git svn fetch
git svn -n dcommit

Sometimes the svn data gets out-of-sync.

Tobias

This revision was automatically updated to reflect the committed changes.

@grosser I was able to commit it.