dbl
dbl
What about with Metal.jl? https://github.com/JuliaGPU/Metal.jl
I just ran into this compiling FBGEMM from source. ``` % clang --version Apple clang version 14.0.0 (clang-1400.0.29.202) Target: x86_64-apple-darwin22.1.0 Thread model: posix InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin ... [ 82%] Building CXX...
I've been trying to discover what the 'MPS' issues are with various models (e.g. llama2.c, nanoGPT, etc.). My most recent tests have been with a COVID-19 research dataset. Here are...
The OpenCL interface in Mathematica 13.2 which uses Apple's OpenCL framework works on my 2021 iMac 27" running MacOS Ventura 13.2 with an AMD Radeon Pro 5700 XT ``` {"Version"...
I added ' -DC_LIBFILE_clang-cpp="-I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include"' to my cmake command which completed without errors. ``` % cmake -DWITH_LLVM_CONFIG=/Users/davidlaxer/llvm-project/build/bin/llvm-config -DOPENCL_LIBS=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenCL.framework -DC_LIBFILE_clang-cpp="-I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include" .. ... -- Generating done -- Build files have been written to:...
I tried building with llvm-14 but I'm getting this error: ``` % make [ 0%] Built target sleef_config_skylake [ 0%] Building SLEEF to LLVM bitcode /Users/davidlaxer/pocl/build/lib/kernel/host/skylake/c_sleef_glue_auto.c.bc In file included from...
``` % /Users/davidlaxer/llvm-project/build/bin/llvm-config --version 15.0.0git (base) davidlaxer@x86_64-apple-darwin13 build % which clang /usr/bin/clang (base) davidlaxer@x86_64-apple-darwin13 build % clang --version Apple clang version 14.0.0 (clang-1400.0.29.202) Target: x86_64-apple-darwin22.3.0 Thread model: posix InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin...
There is no 'clang' or 'clang++' in /Users/davidlaxer/llvm-project/build/bin/. (which is likely why cmake used the system one. I submitted a question to 'llvm' to see if I missed a configuration...
I rebuilt llvm so there is now a clang and clang++ in /Users/davidlaxer/llvm-project/build/bin/ Here's my 'pocl' cmake command: ``` % cmake -DEXTRA_HOST_CLANG_FLAGS=-I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include -DWITH_LLVM_CONFIG=/Users/davidlaxer/llvm-project/build/bin/llvm-config -DOPENCL_LIBS=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenCL.framework -DC_LIBFILE_clang-cpp="-I/Users/davidlaxer/llvm-project/libcxx/include" .. ``` make gave me...
Revised cmake command: ``` cmake -DEXTRA_HOST_CLANG_FLAGS=-I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include -DWITH_LLVM_CONFIG=/Users/davidlaxer/llvm-project/build/bin/llvm-config -DOPENCL_LIBS=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenCL.framework .. ``` Output from $ make VERBOSE=1 ``` % cd /Users/davidlaxer/pocl/build/lib/llvmopencl && /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -v -DCL_HPP_TARGET_OPENCL_VERSION=300 -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -DCL_USE_DEPRECATED_OPENCL_2_2_APIS...