Skip to content

Commit 37edadc

Browse files
committed
fix compilation and update README
1 parent e7e1bf4 commit 37edadc

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# brotsycl
22

3-
brotsycl is a CLI utility that allows to create .ppm images of the Mandelbrot set, for scientists and artists. Leveraging the SYCL language, it can be run
3+
brotsycl is a Mandelbrot set image generator, for scientists and artists. Leveraging the SYCL language, it can be run
44
on CPUs and GPUs, allowing for very fast computation.
55

66
## Usage
@@ -15,16 +15,16 @@ It produces a square 1024x1024 image with (-2, -2) bottom-left, and (2, 2) upper
1515

1616
After doing the heavy calculations, a buffer file is created. It can be fed to the program with -i to skip the computation phase.
1717

18-
There will be an all-architectures executable in releases Soon™. View [#Limitations](#limitations) for more info
18+
There is an almost-all-architectures executable in [releases](https://github.com/silimotion/brotsycl/releases/latest). It has been tested and worked on AMD HIP GPU systems, and CPUs. Work is ongoing to add support to other architectures. It may or may not work on OpenCL devices. If the executable does not work on one of the supported systems please raise an issue. For more information on support, view [#Limitations](#limitations).
1919

2020
## Building
2121

22-
You first need a SYCL compiler, such as [OpenSYCL](https://github.com/OpenSYCL/OpenSYCL) or DPC++. If you wish to have gpu acceleration,
22+
You first need a SYCL compiler, such as [AdaptiveCpp](https://github.com/AdaptiveCpp/AdaptiveCpp) or DPC++. If you wish to have gpu acceleration,
2323
you'll need the appropiate drivers installed, and compile with a capable compiler.
2424

2525
Once you have a functional installation you can compile the project. If using the OpenSYCL compiler, you may compile using the following command:
2626
```bash
27-
syclcc --opensycl-targets="omp;generic" -Ofast -flto -o brotsycl main.cpp
27+
acpp --opensycl-targets="omp;generic" -Ofast -flto -o brotsycl main.cpp
2828
```
2929
## Examples and Gallery
3030

@@ -72,7 +72,7 @@ These benchmarks were measured using the 'time' utility ("user" tab), and compil
7272

7373
## Limitations
7474

75-
Due to the very early stage of SYCL compilers, it is hard to get a generic SYCL executable. Work is being done by the OpenSYCL team to
75+
Due to the very early stage of SYCL compilers, it is hard to get a generic SYCL executable. Work is being done by the AdaptiveCpp team to
7676
develop the SSCP generic compilation. Until everything is polished enough, it will be difficult to produce a tiny and performant downloadable executable runnable on all architectures.
7777

7878
Using the GPU that runs the displays for the calculations may cause freezing. I am investigating this to clarify whether it is a bug in SYCL, the compiler, the program, or intended behaviour.

main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ int main(int argc, char *argv[])
240240
{
241241
D.emplace(range(canvas_x_size, canvas_y_size));
242242
}
243-
catch(const hipsycl::sycl::runtime_error& e)
243+
catch (const exception &e)
244244
{
245245
std::cout << "Error processing file" << std::endl;
246246
exit(-1);

0 commit comments

Comments
 (0)