[SYCL][DOC] Update docs to reflect devicelib change#1368
Conversation
|
@hiaselhans Please, sign-off you commit(git commit -s) |
e97c6f7 to
9d092eb
Compare
describe the use of buildbot scripts in GetStartedGuide.md * use configure.py and compile.py * describe common flags * remove unacessible opencl-aot flags (->enabled by default) * add cross reference to buildbot configuration script * set DPCPP_HOME to ~/sycl_workspace in unix Signed-off-by: hiaselhans <simon.klemenc@gmail.com>
|
okay, thanks @bader for your feedback, i updated the docs to use the buildbot scripts. question i have:
|
I think you laid it out perfectly. It might be useful to enable this option by default, but in this case I would not advice users to add this option, but rather change the script. I think it should be done in a separate PR. Does it sound reasonable?
Looks good to me, although I haven't tried it neither. :-) Thanks a lot for working on this! |
| mkdir %DPCPP_HOME%\build | ||
| cd %DPCPP_HOME%\build | ||
| python %DPCPP_HOME%\llvm\buildbot\configure.py -s %DPCPP_HOME%\llvm -o %DPCPP_HOME%\build -t release | ||
| python %DPCPP_HOME%\llvm\buildbot\compile.py -s %DPCPP_HOME%\llvm -o %DPCPP_HOME%\build |
There was a problem hiding this comment.
Does this need a particular python version? Does it work with python3?
There was a problem hiding this comment.
i never tried on windows, but in my linux python3 is default and works.
There was a problem hiding this comment.
@Ruyk @hiaselhans I don't see anything version-specific in those scripts. I believe both versions are supported. And they definitely work with Python 3, as it's part of CI pipeline.
sycl/doc/GetStartedGuide.md
Outdated
| -DLLVM_EXTERNAL_SYCL_SOURCE_DIR=$DPCPP_HOME/llvm/sycl \ | ||
| -DLLVM_EXTERNAL_LLVM_SPIRV_SOURCE_DIR=$DPCPP_HOME/llvm/llvm-spirv \ | ||
| $DPCPP_HOME/llvm/llvm | ||
| In case you want to configure Cmake manually the up-to-date reference for variables is in these files. |
There was a problem hiding this comment.
| In case you want to configure Cmake manually the up-to-date reference for variables is in these files. | |
| In case you want to configure CMake manually the up-to-date reference for variables is in these files. |
sycl/doc/GetStartedGuide.md
Outdated
| created as DPC++ workspace. It might be useful to create an environment variable | ||
| with the same name. | ||
|
|
||
|
|
There was a problem hiding this comment.
accidential, fixed it :)
|
Well, thanks for the comments,
better to open a seperate issue and pr for this? |
I suggest handling this issues separately. |
| mkdir %DPCPP_HOME% | ||
| cd %DPCPP_HOME% | ||
|
|
||
| git clone https://github.com/intel/llvm -b sycl |
There was a problem hiding this comment.
I'm not sure if we really want to do this. But shallow clone would dramatically decrease download times for those who just want's to build the latest version (instead of working on new features/bugfixes).
| git clone https://github.com/intel/llvm -b sycl | |
| git clone --depth 1 https://github.com/intel/llvm -b sycl |
in sycl/doc/GetStartedGuide.md