GPU Compute Software
Ask questions about Intel® Graphics Compute software technologies, such as OpenCL* GPU driver and oneAPI Level Zero

OpenCL and C++

Andrew10
Beginner
2,555 Views

I have code for project written in C++ and OpenCL on Github. How can I convert/integrate these files into OneAPI Devcloud?

0 Kudos
3 Replies
JyothisV_Intel
Moderator
2,463 Views

Hi,

 

Good day to you.

 

Thanks for posting in Intel Communities.

 

To integrate GitHub repositories to Intel DevCloud, you can either use the git clone command or get the repository as a zip file from GitHub using the wget command.

 

Method 1: Steps to clone a GitHub repository directly:

a. Open the GitHub repository and click on the "Code" button as shown in the attached screenshot.

b. Copy the GitHub repository URL by clicking the copy icon button.

c. Login to your Intel DevCloud terminal and type the following command to clone the github repository:

git clone <repo_git_url>

E.g.: git clone https://github.com/sample_repo/project.git

 

Method 2: Steps to download a GitHub repository as zip file:

a. Open the repository and click on the the "Code" button as shown in attached screenshot.

b. Right-click on the "Download ZIP" button and click on "Copy link address"

c. Login to your Intel DevCloud terminal and type the following command to download the GitHub repository:

wget <paste_copied_link>

E.g.: wget https://github.com/sample_repo/project/archive/refs/heads/main.zip

d. Unzip/Extract the downloaded file using the following command:

unzip <downloaded_zip_file>

E.g.: unzip main.zip

 

If this resolves your issue, make sure to accept this as a solution. This would help others with similar issues.

 

Thanks and Regards,

Jyothis V James

 

0 Kudos
Andrew10
Beginner
2,353 Views

Hi,

Thanks for the reply.

By integrate, I mean how can I run the files on OneAPI with existing code (on github) in C++ and OpenCL

0 Kudos
HemanthCH_Intel
Moderator
2,294 Views

Hi,


Since this is a duplicate thread of https://community.intel.com/t5/GPU-Compute-Software/Compiling-and-Migrating-to-DPC/m-p/1373022#M383, we will no longer monitor this thread. We will continue addressing this issue in the other thread.


Thanks & Regards,

Hemanth.


0 Kudos
Reply