I installed openmm-metal today on my new MacBook Pro, which has a M2 Max and Ventura 13.2.1. Unfortunately, 7 of the unit tests failed. I attached the ctest log below.
ctest --output-on-failure
Test project /Users/andrewstokely/projects/github/vantai/openmm-metal/build
Start 1: TestMetalCMAPTorsionForceSingle
1/34 Test #1: TestMetalCMAPTorsionForceSingle ................. Passed 1.00 sec
Start 2: TestMetalCMMotionRemoverSingle
2/34 Test #2: TestMetalCMMotionRemoverSingle .................. Passed 1.36 sec
Start 3: TestMetalCheckpointsSingle
3/34 Test #3: TestMetalCheckpointsSingle ......................***Failed 0.31 sec
UNSUPPORTED (log once): buildComputeProgram: cl2Metal failed
Metal internal error: [CL_DEVICE_NOT_AVAILABLE] : OpenCL Error : Error: Build Program driver returned (10014)
Metal internal error: OpenCL Warning : clBuildProgram failed: could not build program for 0x1027f00 (Apple M2 Max) (err:-2)
Metal internal error: [CL_BUILD_ERROR] : OpenCL Build Error : Compiler build log:
program_source:575:26: warning: unsupported OpenCL extension 'cl_khr_byte_addressable_store' - ignoring
#pragma OPENCL EXTENSION cl_khr_byte_addressable_store : enable
^
program_source:773:45: error: call to 'vloada_half3' is ambiguous
real3 largeSize = real3(vloada_half3(largeBlockIndex, largeBlockBoundingBox));
^~~~~~~~~~~~
/System/Library/PrivateFrameworks/GPUCompiler.framework/Versions/31001/Libraries/lib/clang/31001.669/include/opencl-c.h:12475:15: note: candidate function
float3 __ovld vloada_half3(size_t offset, const __constant half *p);
^
/System/Library/PrivateFrameworks/GPUCompiler.framework/Versions/31001/Libraries/lib/clang/31001.669/include/opencl-c.h:12489:15: note: candidate function
float3 __ovld vloada_half3(size_t offset, const __global half *p);
^
/System/Library/PrivateFrameworks/GPUCompiler.framework/Versions/31001/Libraries/lib/clang/31001.669/include/opencl-c.h:12495:15: note: candidate function
float3 __ovld vloada_half3(size_t offset, const __local half *p);
^
/System/Library/PrivateFrameworks/GPUCompiler.framework/Versions/31001/Libraries/lib/clang/31001.669/include/opencl-c.h:12501:15: note: candidate function
float3 __ovld vloada_half3(size_t offset, const __private half *p);
^
program_source:721:57: warning: comparison of integers of different signs: 'int' and 'unsigned int'
for (int block1 = startBlockIndex+warpIndex; block1 < startBlockIndex+numBlocks; block1 += totalWarps) {
~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~
program_source:946:45: warning: comparison of integers of different signs: 'const int' and 'unsigned int'
if (indexInWarp < tilesToStore)
~~~~~~~~~~~ ^ ~~~~~~~~~~~~
program_source:962:38: warning: comparison of integers of different signs: 'int' and 'unsigned int'
for (; j < tilesToStore; j++)
~ ^ ~~~~~~~~~~~~
program_source:991:33: warning: comparison of integers of different signs: 'const int' and 'unsigned int'
if (indexInWarp < tilesToStore)
~~~~~~~~~~~ ^ ~~~~~~~~~~~~
program_source:993:35: warning: comparison of integers of different signs: 'int' and 'unsigned int'
for (int j = 0; j < tilesToStore; j++)
~ ^ ~~~~~~~~~~~~
exception: Error compiling kernel: program_source:575:26: warning: unsupported OpenCL extension 'cl_khr_byte_addressable_store' - ignoring
#pragma OPENCL EXTENSION cl_khr_byte_addressable_store : enable
^
program_source:773:45: error: call to 'vloada_half3' is ambiguous
real3 largeSize = real3(vloada_half3(largeBlockIndex, largeBlockBoundingBox));
^~~~~~~~~~~~
/System/Library/PrivateFrameworks/GPUCompiler.framework/Versions/31001/Libraries/lib/clang/31001.669/include/opencl-c.h:12475:15: note: candidate function
float3 __ovld vloada_half3(size_t offset, const __constant half *p);
^
/System/Library/PrivateFrameworks/GPUCompiler.framework/Versions/31001/Libraries/lib/clang/31001.669/include/opencl-c.h:12489:15: note: candidate function
float3 __ovld vloada_half3(size_t offset, const __global half *p);
^
/System/Library/PrivateFrameworks/GPUCompiler.framework/Versions/31001/Libraries/lib/clang/31001.669/include/opencl-c.h:12495:15: note: candidate function
float3 __ovld vloada_half3(size_t offset, const __local half *p);
^
/System/Library/PrivateFrameworks/GPUCompiler.framework/Versions/31001/Libraries/lib/clang/31001.669/include/opencl-c.h:12501:15: note: candidate function
float3 __ovld vloada_half3(size_t offset, const __private half *p);
^
program_source:721:57: warning: comparison of integers of different signs: 'int' and 'unsigned int'
for (int block1 = startBlockIndex+warpIndex; block1 < startBlockIndex+numBlocks; block1 += totalWarps) {
~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~
program_source:946:45: warning: comparison of integers of different signs: 'const int' and 'unsigned int'
if (indexInWarp < tilesToStore)
~~~~~~~~~~~ ^ ~~~~~~~~~~~~
program_source:962:38: warning: comparison of integers of different signs: 'int' and 'unsigned int'
for (; j < tilesToStore; j++)
~ ^ ~~~~~~~~~~~~
program_source:991:33: warning: comparison of integers of different signs: 'const int' and 'unsigned int'
if (indexInWarp < tilesToStore)
~~~~~~~~~~~ ^ ~~~~~~~~~~~~
program_source:993:35: warning: comparison of integers of different signs: 'int' and 'unsigned int'
for (int j = 0; j < tilesToStore; j++)
~ ^ ~~~~~~~~~~~~
Start 4: TestMetalCompoundIntegratorSingle
4/34 Test #4: TestMetalCompoundIntegratorSingle ............... Passed 2.05 sec
Start 5: TestMetalCustomAngleForceSingle
5/34 Test #5: TestMetalCustomAngleForceSingle ................. Passed 0.81 sec
Start 6: TestMetalCustomBondForceSingle
6/34 Test #6: TestMetalCustomBondForceSingle .................. Passed 0.46 sec
Start 7: TestMetalCustomCVForceSingle
7/34 Test #7: TestMetalCustomCVForceSingle .................... Passed 1.05 sec
Start 8: TestMetalCustomCentroidBondForceSingle
8/34 Test #8: TestMetalCustomCentroidBondForceSingle .......... Passed 0.59 sec
Start 9: TestMetalCustomCompoundBondForceSingle
9/34 Test #9: TestMetalCustomCompoundBondForceSingle .......... Passed 3.12 sec
Start 10: TestMetalCustomExternalForceSingle
10/34 Test #10: TestMetalCustomExternalForceSingle .............. Passed 0.57 sec
Start 11: TestMetalCustomGBForceSingle
11/34 Test #11: TestMetalCustomGBForceSingle ....................***Failed 0.87 sec
UNSUPPORTED (log once): buildComputeProgram: cl2Metal failed
Metal internal error: [CL_DEVICE_NOT_AVAILABLE] : OpenCL Error : Error: Build Program driver returned (10014)
Metal internal error: OpenCL Warning : clBuildProgram failed: could not build program for 0x1027f00 (Apple M2 Max) (err:-2)
Metal internal error: [CL_BUILD_ERROR] : OpenCL Build Error : Compiler build log:
program_source:574:26: warning: unsupported OpenCL extension 'cl_khr_byte_addressable_store' - ignoring
#pragma OPENCL EXTENSION cl_khr_byte_addressable_store : enable
^
program_source:772:45: error: call to 'vloada_half3' is ambiguous
real3 largeSize = real3(vloada_half3(largeBlockIndex, largeBlockBoundingBox));
^~~~~~~~~~~~
/System/Library/PrivateFrameworks/GPUCompiler.framework/Versions/31001/Libraries/lib/clang/31001.669/include/opencl-c.h:12475:15: note: candidate function
float3 __ovld vloada_half3(size_t offset, const __constant half *p);
^
/System/Library/PrivateFrameworks/GPUCompiler.framework/Versions/31001/Libraries/lib/clang/31001.669/include/opencl-c.h:12489:15: note: candidate function
float3 __ovld vloada_half3(size_t offset, const __global half *p);
^
/System/Library/PrivateFrameworks/GPUCompiler.framework/Versions/31001/Libraries/lib/clang/31001.669/include/opencl-c.h:12495:15: note: candidate function
float3 __ovld vloada_half3(size_t offset, const __local half *p);
^
/System/Library/PrivateFrameworks/GPUCompiler.framework/Versions/31001/Libraries/lib/clang/31001.669/include/opencl-c.h:12501:15: note: candidate function
float3 __ovld vloada_half3(size_t offset, const __private half *p);
^
program_source:720:57: warning: comparison of integers of different signs: 'int' and 'unsigned int'
for (int block1 = startBlockIndex+warpIndex; block1 < startBlockIndex+numBlocks; block1 += totalWarps) {
~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~
program_source:945:45: warning: comparison of integers of different signs: 'const int' and 'unsigned int'
if (indexInWarp < tilesToStore)
~~~~~~~~~~~ ^ ~~~~~~~~~~~~
program_source:961:38: warning: comparison of integers of different signs: 'int' and 'unsigned int'
for (; j < tilesToStore; j++)
~ ^ ~~~~~~~~~~~~
program_source:990:33: warning: comparison of integers of different signs: 'const int' and 'unsigned int'
if (indexInWarp < tilesToStore)
~~~~~~~~~~~ ^ ~~~~~~~~~~~~
program_source:992:35: warning: comparison of integers of different signs: 'int' and 'unsigned int'
for (int j = 0; j < tilesToStore; j++)
~ ^ ~~~~~~~~~~~~
exception: Error compiling kernel: program_source:574:26: warning: unsupported OpenCL extension 'cl_khr_byte_addressable_store' - ignoring
#pragma OPENCL EXTENSION cl_khr_byte_addressable_store : enable
^
program_source:772:45: error: call to 'vloada_half3' is ambiguous
real3 largeSize = real3(vloada_half3(largeBlockIndex, largeBlockBoundingBox));
^~~~~~~~~~~~
/System/Library/PrivateFrameworks/GPUCompiler.framework/Versions/31001/Libraries/lib/clang/31001.669/include/opencl-c.h:12475:15: note: candidate function
float3 __ovld vloada_half3(size_t offset, const __constant half *p);
^
/System/Library/PrivateFrameworks/GPUCompiler.framework/Versions/31001/Libraries/lib/clang/31001.669/include/opencl-c.h:12489:15: note: candidate function
float3 __ovld vloada_half3(size_t offset, const __global half *p);
^
/System/Library/PrivateFrameworks/GPUCompiler.framework/Versions/31001/Libraries/lib/clang/31001.669/include/opencl-c.h:12495:15: note: candidate function
float3 __ovld vloada_half3(size_t offset, const __local half *p);
^
/System/Library/PrivateFrameworks/GPUCompiler.framework/Versions/31001/Libraries/lib/clang/31001.669/include/opencl-c.h:12501:15: note: candidate function
float3 __ovld vloada_half3(size_t offset, const __private half *p);
^
program_source:720:57: warning: comparison of integers of different signs: 'int' and 'unsigned int'
for (int block1 = startBlockIndex+warpIndex; block1 < startBlockIndex+numBlocks; block1 += totalWarps) {
~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~
program_source:945:45: warning: comparison of integers of different signs: 'const int' and 'unsigned int'
if (indexInWarp < tilesToStore)
~~~~~~~~~~~ ^ ~~~~~~~~~~~~
program_source:961:38: warning: comparison of integers of different signs: 'int' and 'unsigned int'
for (; j < tilesToStore; j++)
~ ^ ~~~~~~~~~~~~
program_source:990:33: warning: comparison of integers of different signs: 'const int' and 'unsigned int'
if (indexInWarp < tilesToStore)
~~~~~~~~~~~ ^ ~~~~~~~~~~~~
program_source:992:35: warning: comparison of integers of different signs: 'int' and 'unsigned int'
for (int j = 0; j < tilesToStore; j++)
~ ^ ~~~~~~~~~~~~
Start 12: TestMetalCustomHbondForceSingle
12/34 Test #12: TestMetalCustomHbondForceSingle ................. Passed 0.83 sec
Start 13: TestMetalCustomTorsionForceSingle
13/34 Test #13: TestMetalCustomTorsionForceSingle ............... Passed 0.76 sec
Start 14: TestMetalDeviceQuerySingle
14/34 Test #14: TestMetalDeviceQuerySingle ...................... Passed 0.03 sec
Start 15: TestMetalFFTSingle
15/34 Test #15: TestMetalFFTSingle .............................. Passed 1.27 sec
Start 16: TestMetalGBSAOBCForceSingle
16/34 Test #16: TestMetalGBSAOBCForceSingle .....................***Failed 0.62 sec
UNSUPPORTED (log once): buildComputeProgram: cl2Metal failed
Metal internal error: [CL_DEVICE_NOT_AVAILABLE] : OpenCL Error : Error: Build Program driver returned (10014)
Metal internal error: OpenCL Warning : clBuildProgram failed: could not build program for 0x1027f00 (Apple M2 Max) (err:-2)
Metal internal error: [CL_BUILD_ERROR] : OpenCL Build Error : Compiler build log:
program_source:574:26: warning: unsupported OpenCL extension 'cl_khr_byte_addressable_store' - ignoring
#pragma OPENCL EXTENSION cl_khr_byte_addressable_store : enable
^
program_source:772:45: error: call to 'vloada_half3' is ambiguous
real3 largeSize = real3(vloada_half3(largeBlockIndex, largeBlockBoundingBox));
^~~~~~~~~~~~
/System/Library/PrivateFrameworks/GPUCompiler.framework/Versions/31001/Libraries/lib/clang/31001.669/include/opencl-c.h:12475:15: note: candidate function
float3 __ovld vloada_half3(size_t offset, const __constant half *p);
^
/System/Library/PrivateFrameworks/GPUCompiler.framework/Versions/31001/Libraries/lib/clang/31001.669/include/opencl-c.h:12489:15: note: candidate function
float3 __ovld vloada_half3(size_t offset, const __global half *p);
^
/System/Library/PrivateFrameworks/GPUCompiler.framework/Versions/31001/Libraries/lib/clang/31001.669/include/opencl-c.h:12495:15: note: candidate function
float3 __ovld vloada_half3(size_t offset, const __local half *p);
^
/System/Library/PrivateFrameworks/GPUCompiler.framework/Versions/31001/Libraries/lib/clang/31001.669/include/opencl-c.h:12501:15: note: candidate function
float3 __ovld vloada_half3(size_t offset, const __private half *p);
^
program_source:720:57: warning: comparison of integers of different signs: 'int' and 'unsigned int'
for (int block1 = startBlockIndex+warpIndex; block1 < startBlockIndex+numBlocks; block1 += totalWarps) {
~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~
program_source:945:45: warning: comparison of integers of different signs: 'const int' and 'unsigned int'
if (indexInWarp < tilesToStore)
~~~~~~~~~~~ ^ ~~~~~~~~~~~~
program_source:961:38: warning: comparison of integers of different signs: 'int' and 'unsigned int'
for (; j < tilesToStore; j++)
~ ^ ~~~~~~~~~~~~
program_source:990:33: warning: comparison of integers of different signs: 'const int' and 'unsigned int'
if (indexInWarp < tilesToStore)
~~~~~~~~~~~ ^ ~~~~~~~~~~~~
program_source:992:35: warning: comparison of integers of different signs: 'int' and 'unsigned int'
for (int j = 0; j < tilesToStore; j++)
~ ^ ~~~~~~~~~~~~
exception: Error compiling kernel: program_source:574:26: warning: unsupported OpenCL extension 'cl_khr_byte_addressable_store' - ignoring
#pragma OPENCL EXTENSION cl_khr_byte_addressable_store : enable
^
program_source:772:45: error: call to 'vloada_half3' is ambiguous
real3 largeSize = real3(vloada_half3(largeBlockIndex, largeBlockBoundingBox));
^~~~~~~~~~~~
/System/Library/PrivateFrameworks/GPUCompiler.framework/Versions/31001/Libraries/lib/clang/31001.669/include/opencl-c.h:12475:15: note: candidate function
float3 __ovld vloada_half3(size_t offset, const __constant half *p);
^
/System/Library/PrivateFrameworks/GPUCompiler.framework/Versions/31001/Libraries/lib/clang/31001.669/include/opencl-c.h:12489:15: note: candidate function
float3 __ovld vloada_half3(size_t offset, const __global half *p);
^
/System/Library/PrivateFrameworks/GPUCompiler.framework/Versions/31001/Libraries/lib/clang/31001.669/include/opencl-c.h:12495:15: note: candidate function
float3 __ovld vloada_half3(size_t offset, const __local half *p);
^
/System/Library/PrivateFrameworks/GPUCompiler.framework/Versions/31001/Libraries/lib/clang/31001.669/include/opencl-c.h:12501:15: note: candidate function
float3 __ovld vloada_half3(size_t offset, const __private half *p);
^
program_source:720:57: warning: comparison of integers of different signs: 'int' and 'unsigned int'
for (int block1 = startBlockIndex+warpIndex; block1 < startBlockIndex+numBlocks; block1 += totalWarps) {
~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~
program_source:945:45: warning: comparison of integers of different signs: 'const int' and 'unsigned int'
if (indexInWarp < tilesToStore)
~~~~~~~~~~~ ^ ~~~~~~~~~~~~
program_source:961:38: warning: comparison of integers of different signs: 'int' and 'unsigned int'
for (; j < tilesToStore; j++)
~ ^ ~~~~~~~~~~~~
program_source:990:33: warning: comparison of integers of different signs: 'const int' and 'unsigned int'
if (indexInWarp < tilesToStore)
~~~~~~~~~~~ ^ ~~~~~~~~~~~~
program_source:992:35: warning: comparison of integers of different signs: 'int' and 'unsigned int'
for (int j = 0; j < tilesToStore; j++)
~ ^ ~~~~~~~~~~~~
Start 17: TestMetalGayBerneForceSingle
17/34 Test #17: TestMetalGayBerneForceSingle .................... Passed 1.48 sec
Start 18: TestMetalHarmonicAngleForceSingle
18/34 Test #18: TestMetalHarmonicAngleForceSingle ............... Passed 0.40 sec
Start 19: TestMetalHarmonicBondForceSingle
19/34 Test #19: TestMetalHarmonicBondForceSingle ................ Passed 0.46 sec
Start 20: TestMetalMultipleForcesSingle
20/34 Test #20: TestMetalMultipleForcesSingle ................... Passed 0.29 sec
Start 21: TestMetalPeriodicTorsionForceSingle
21/34 Test #21: TestMetalPeriodicTorsionForceSingle ............. Passed 0.55 sec
Start 22: TestMetalRBTorsionForceSingle
22/34 Test #22: TestMetalRBTorsionForceSingle ................... Passed 0.72 sec
Start 23: TestMetalRMSDForceSingle
23/34 Test #23: TestMetalRMSDForceSingle ........................ Passed 0.38 sec
Start 24: TestMetalRandomSingle
24/34 Test #24: TestMetalRandomSingle ........................... Passed 0.49 sec
Start 25: TestMetalSettleSingle
25/34 Test #25: TestMetalSettleSingle ........................... Passed 0.86 sec
Start 26: TestMetalSortSingle
26/34 Test #26: TestMetalSortSingle ............................. Passed 0.38 sec
Start 27: TestMetalVariableVerletIntegratorSingle
27/34 Test #27: TestMetalVariableVerletIntegratorSingle .........***Failed 4.38 sec
UNSUPPORTED (log once): buildComputeProgram: cl2Metal failed
Metal internal error: [CL_DEVICE_NOT_AVAILABLE] : OpenCL Error : Error: Build Program driver returned (10014)
Metal internal error: OpenCL Warning : clBuildProgram failed: could not build program for 0x1027f00 (Apple M2 Max) (err:-2)
Metal internal error: [CL_BUILD_ERROR] : OpenCL Build Error : Compiler build log:
program_source:575:26: warning: unsupported OpenCL extension 'cl_khr_byte_addressable_store' - ignoring
#pragma OPENCL EXTENSION cl_khr_byte_addressable_store : enable
^
program_source:773:45: error: call to 'vloada_half3' is ambiguous
real3 largeSize = real3(vloada_half3(largeBlockIndex, largeBlockBoundingBox));
^~~~~~~~~~~~
/System/Library/PrivateFrameworks/GPUCompiler.framework/Versions/31001/Libraries/lib/clang/31001.669/include/opencl-c.h:12475:15: note: candidate function
float3 __ovld vloada_half3(size_t offset, const __constant half *p);
^
/System/Library/PrivateFrameworks/GPUCompiler.framework/Versions/31001/Libraries/lib/clang/31001.669/include/opencl-c.h:12489:15: note: candidate function
float3 __ovld vloada_half3(size_t offset, const __global half *p);
^
/System/Library/PrivateFrameworks/GPUCompiler.framework/Versions/31001/Libraries/lib/clang/31001.669/include/opencl-c.h:12495:15: note: candidate function
float3 __ovld vloada_half3(size_t offset, const __local half *p);
^
/System/Library/PrivateFrameworks/GPUCompiler.framework/Versions/31001/Libraries/lib/clang/31001.669/include/opencl-c.h:12501:15: note: candidate function
float3 __ovld vloada_half3(size_t offset, const __private half *p);
^
program_source:721:57: warning: comparison of integers of different signs: 'int' and 'unsigned int'
for (int block1 = startBlockIndex+warpIndex; block1 < startBlockIndex+numBlocks; block1 += totalWarps) {
~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~
program_source:946:45: warning: comparison of integers of different signs: 'const int' and 'unsigned int'
if (indexInWarp < tilesToStore)
~~~~~~~~~~~ ^ ~~~~~~~~~~~~
program_source:962:38: warning: comparison of integers of different signs: 'int' and 'unsigned int'
for (; j < tilesToStore; j++)
~ ^ ~~~~~~~~~~~~
program_source:991:33: warning: comparison of integers of different signs: 'const int' and 'unsigned int'
if (indexInWarp < tilesToStore)
~~~~~~~~~~~ ^ ~~~~~~~~~~~~
program_source:993:35: warning: comparison of integers of different signs: 'int' and 'unsigned int'
for (int j = 0; j < tilesToStore; j++)
~ ^ ~~~~~~~~~~~~
exception: Error compiling kernel: program_source:575:26: warning: unsupported OpenCL extension 'cl_khr_byte_addressable_store' - ignoring
#pragma OPENCL EXTENSION cl_khr_byte_addressable_store : enable
^
program_source:773:45: error: call to 'vloada_half3' is ambiguous
real3 largeSize = real3(vloada_half3(largeBlockIndex, largeBlockBoundingBox));
^~~~~~~~~~~~
/System/Library/PrivateFrameworks/GPUCompiler.framework/Versions/31001/Libraries/lib/clang/31001.669/include/opencl-c.h:12475:15: note: candidate function
float3 __ovld vloada_half3(size_t offset, const __constant half *p);
^
/System/Library/PrivateFrameworks/GPUCompiler.framework/Versions/31001/Libraries/lib/clang/31001.669/include/opencl-c.h:12489:15: note: candidate function
float3 __ovld vloada_half3(size_t offset, const __global half *p);
^
/System/Library/PrivateFrameworks/GPUCompiler.framework/Versions/31001/Libraries/lib/clang/31001.669/include/opencl-c.h:12495:15: note: candidate function
float3 __ovld vloada_half3(size_t offset, const __local half *p);
^
/System/Library/PrivateFrameworks/GPUCompiler.framework/Versions/31001/Libraries/lib/clang/31001.669/include/opencl-c.h:12501:15: note: candidate function
float3 __ovld vloada_half3(size_t offset, const __private half *p);
^
program_source:721:57: warning: comparison of integers of different signs: 'int' and 'unsigned int'
for (int block1 = startBlockIndex+warpIndex; block1 < startBlockIndex+numBlocks; block1 += totalWarps) {
~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~
program_source:946:45: warning: comparison of integers of different signs: 'const int' and 'unsigned int'
if (indexInWarp < tilesToStore)
~~~~~~~~~~~ ^ ~~~~~~~~~~~~
program_source:962:38: warning: comparison of integers of different signs: 'int' and 'unsigned int'
for (; j < tilesToStore; j++)
~ ^ ~~~~~~~~~~~~
program_source:991:33: warning: comparison of integers of different signs: 'const int' and 'unsigned int'
if (indexInWarp < tilesToStore)
~~~~~~~~~~~ ^ ~~~~~~~~~~~~
program_source:993:35: warning: comparison of integers of different signs: 'int' and 'unsigned int'
for (int j = 0; j < tilesToStore; j++)
~ ^ ~~~~~~~~~~~~
Start 28: TestMetalAmoebaExtrapolatedPolarizationSingle
28/34 Test #28: TestMetalAmoebaExtrapolatedPolarizationSingle ...***Failed 1.57 sec
UNSUPPORTED (log once): buildComputeProgram: cl2Metal failed
Metal internal error: [CL_DEVICE_NOT_AVAILABLE] : OpenCL Error : Error: Build Program driver returned (10014)
Metal internal error: OpenCL Warning : clBuildProgram failed: could not build program for 0x1027f00 (Apple M2 Max) (err:-2)
Metal internal error: [CL_BUILD_ERROR] : OpenCL Build Error : Compiler build log:
program_source:592:26: warning: unsupported OpenCL extension 'cl_khr_byte_addressable_store' - ignoring
#pragma OPENCL EXTENSION cl_khr_byte_addressable_store : enable
^
program_source:790:45: error: call to 'vloada_half3' is ambiguous
real3 largeSize = real3(vloada_half3(largeBlockIndex, largeBlockBoundingBox));
^~~~~~~~~~~~
/System/Library/PrivateFrameworks/GPUCompiler.framework/Versions/31001/Libraries/lib/clang/31001.669/include/opencl-c.h:12475:15: note: candidate function
float3 __ovld vloada_half3(size_t offset, const __constant half *p);
^
/System/Library/PrivateFrameworks/GPUCompiler.framework/Versions/31001/Libraries/lib/clang/31001.669/include/opencl-c.h:12489:15: note: candidate function
float3 __ovld vloada_half3(size_t offset, const __global half *p);
^
/System/Library/PrivateFrameworks/GPUCompiler.framework/Versions/31001/Libraries/lib/clang/31001.669/include/opencl-c.h:12495:15: note: candidate function
float3 __ovld vloada_half3(size_t offset, const __local half *p);
^
/System/Library/PrivateFrameworks/GPUCompiler.framework/Versions/31001/Libraries/lib/clang/31001.669/include/opencl-c.h:12501:15: note: candidate function
float3 __ovld vloada_half3(size_t offset, const __private half *p);
^
program_source:738:57: warning: comparison of integers of different signs: 'int' and 'unsigned int'
for (int block1 = startBlockIndex+warpIndex; block1 < startBlockIndex+numBlocks; block1 += totalWarps) {
~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~
program_source:963:45: warning: comparison of integers of different signs: 'const int' and 'unsigned int'
if (indexInWarp < tilesToStore)
~~~~~~~~~~~ ^ ~~~~~~~~~~~~
program_source:979:38: warning: comparison of integers of different signs: 'int' and 'unsigned int'
for (; j < tilesToStore; j++)
~ ^ ~~~~~~~~~~~~
program_source:1008:33: warning: comparison of integers of different signs: 'const int' and 'unsigned int'
if (indexInWarp < tilesToStore)
~~~~~~~~~~~ ^ ~~~~~~~~~~~~
program_source:1010:35: warning: comparison of integers of different signs: 'int' and 'unsigned int'
for (int j = 0; j < tilesToStore; j++)
~ ^ ~~~~~~~~~~~~
exception: Error compiling kernel: program_source:592:26: warning: unsupported OpenCL extension 'cl_khr_byte_addressable_store' - ignoring
#pragma OPENCL EXTENSION cl_khr_byte_addressable_store : enable
^
program_source:790:45: error: call to 'vloada_half3' is ambiguous
real3 largeSize = real3(vloada_half3(largeBlockIndex, largeBlockBoundingBox));
^~~~~~~~~~~~
/System/Library/PrivateFrameworks/GPUCompiler.framework/Versions/31001/Libraries/lib/clang/31001.669/include/opencl-c.h:12475:15: note: candidate function
float3 __ovld vloada_half3(size_t offset, const __constant half *p);
^
/System/Library/PrivateFrameworks/GPUCompiler.framework/Versions/31001/Libraries/lib/clang/31001.669/include/opencl-c.h:12489:15: note: candidate function
float3 __ovld vloada_half3(size_t offset, const __global half *p);
^
/System/Library/PrivateFrameworks/GPUCompiler.framework/Versions/31001/Libraries/lib/clang/31001.669/include/opencl-c.h:12495:15: note: candidate function
float3 __ovld vloada_half3(size_t offset, const __local half *p);
^
/System/Library/PrivateFrameworks/GPUCompiler.framework/Versions/31001/Libraries/lib/clang/31001.669/include/opencl-c.h:12501:15: note: candidate function
float3 __ovld vloada_half3(size_t offset, const __private half *p);
^
program_source:738:57: warning: comparison of integers of different signs: 'int' and 'unsigned int'
for (int block1 = startBlockIndex+warpIndex; block1 < startBlockIndex+numBlocks; block1 += totalWarps) {
~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~
program_source:963:45: warning: comparison of integers of different signs: 'const int' and 'unsigned int'
if (indexInWarp < tilesToStore)
~~~~~~~~~~~ ^ ~~~~~~~~~~~~
program_source:979:38: warning: comparison of integers of different signs: 'int' and 'unsigned int'
for (; j < tilesToStore; j++)
~ ^ ~~~~~~~~~~~~
program_source:1008:33: warning: comparison of integers of different signs: 'const int' and 'unsigned int'
if (indexInWarp < tilesToStore)
~~~~~~~~~~~ ^ ~~~~~~~~~~~~
program_source:1010:35: warning: comparison of integers of different signs: 'int' and 'unsigned int'
for (int j = 0; j < tilesToStore; j++)
~ ^ ~~~~~~~~~~~~
FAIL - ERROR. Test failed.
Start 29: TestMetalAmoebaGeneralizedKirkwoodForceSingle
29/34 Test #29: TestMetalAmoebaGeneralizedKirkwoodForceSingle ... Passed 7.81 sec
Start 30: TestMetalAmoebaMultipoleForceSingle
30/34 Test #30: TestMetalAmoebaMultipoleForceSingle .............***Failed 1.95 sec
UNSUPPORTED (log once): buildComputeProgram: cl2Metal failed
Metal internal error: [CL_DEVICE_NOT_AVAILABLE] : OpenCL Error : Error: Build Program driver returned (10014)
Metal internal error: OpenCL Warning : clBuildProgram failed: could not build program for 0x1027f00 (Apple M2 Max) (err:-2)
Metal internal error: [CL_BUILD_ERROR] : OpenCL Build Error : Compiler build log:
program_source:575:26: warning: unsupported OpenCL extension 'cl_khr_byte_addressable_store' - ignoring
#pragma OPENCL EXTENSION cl_khr_byte_addressable_store : enable
^
program_source:773:45: error: call to 'vloada_half3' is ambiguous
real3 largeSize = real3(vloada_half3(largeBlockIndex, largeBlockBoundingBox));
^~~~~~~~~~~~
/System/Library/PrivateFrameworks/GPUCompiler.framework/Versions/31001/Libraries/lib/clang/31001.669/include/opencl-c.h:12475:15: note: candidate function
float3 __ovld vloada_half3(size_t offset, const __constant half *p);
^
/System/Library/PrivateFrameworks/GPUCompiler.framework/Versions/31001/Libraries/lib/clang/31001.669/include/opencl-c.h:12489:15: note: candidate function
float3 __ovld vloada_half3(size_t offset, const __global half *p);
^
/System/Library/PrivateFrameworks/GPUCompiler.framework/Versions/31001/Libraries/lib/clang/31001.669/include/opencl-c.h:12495:15: note: candidate function
float3 __ovld vloada_half3(size_t offset, const __local half *p);
^
/System/Library/PrivateFrameworks/GPUCompiler.framework/Versions/31001/Libraries/lib/clang/31001.669/include/opencl-c.h:12501:15: note: candidate function
float3 __ovld vloada_half3(size_t offset, const __private half *p);
^
program_source:721:57: warning: comparison of integers of different signs: 'int' and 'unsigned int'
for (int block1 = startBlockIndex+warpIndex; block1 < startBlockIndex+numBlocks; block1 += totalWarps) {
~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~
program_source:946:45: warning: comparison of integers of different signs: 'const int' and 'unsigned int'
if (indexInWarp < tilesToStore)
~~~~~~~~~~~ ^ ~~~~~~~~~~~~
program_source:962:38: warning: comparison of integers of different signs: 'int' and 'unsigned int'
for (; j < tilesToStore; j++)
~ ^ ~~~~~~~~~~~~
program_source:991:33: warning: comparison of integers of different signs: 'const int' and 'unsigned int'
if (indexInWarp < tilesToStore)
~~~~~~~~~~~ ^ ~~~~~~~~~~~~
program_source:993:35: warning: comparison of integers of different signs: 'int' and 'unsigned int'
for (int j = 0; j < tilesToStore; j++)
~ ^ ~~~~~~~~~~~~
exception: Error compiling kernel: program_source:575:26: warning: unsupported OpenCL extension 'cl_khr_byte_addressable_store' - ignoring
#pragma OPENCL EXTENSION cl_khr_byte_addressable_store : enable
^
program_source:773:45: error: call to 'vloada_half3' is ambiguous
real3 largeSize = real3(vloada_half3(largeBlockIndex, largeBlockBoundingBox));
^~~~~~~~~~~~
/System/Library/PrivateFrameworks/GPUCompiler.framework/Versions/31001/Libraries/lib/clang/31001.669/include/opencl-c.h:12475:15: note: candidate function
float3 __ovld vloada_half3(size_t offset, const __constant half *p);
^
/System/Library/PrivateFrameworks/GPUCompiler.framework/Versions/31001/Libraries/lib/clang/31001.669/include/opencl-c.h:12489:15: note: candidate function
float3 __ovld vloada_half3(size_t offset, const __global half *p);
^
/System/Library/PrivateFrameworks/GPUCompiler.framework/Versions/31001/Libraries/lib/clang/31001.669/include/opencl-c.h:12495:15: note: candidate function
float3 __ovld vloada_half3(size_t offset, const __local half *p);
^
/System/Library/PrivateFrameworks/GPUCompiler.framework/Versions/31001/Libraries/lib/clang/31001.669/include/opencl-c.h:12501:15: note: candidate function
float3 __ovld vloada_half3(size_t offset, const __private half *p);
^
program_source:721:57: warning: comparison of integers of different signs: 'int' and 'unsigned int'
for (int block1 = startBlockIndex+warpIndex; block1 < startBlockIndex+numBlocks; block1 += totalWarps) {
~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~
program_source:946:45: warning: comparison of integers of different signs: 'const int' and 'unsigned int'
if (indexInWarp < tilesToStore)
~~~~~~~~~~~ ^ ~~~~~~~~~~~~
program_source:962:38: warning: comparison of integers of different signs: 'int' and 'unsigned int'
for (; j < tilesToStore; j++)
~ ^ ~~~~~~~~~~~~
program_source:991:33: warning: comparison of integers of different signs: 'const int' and 'unsigned int'
if (indexInWarp < tilesToStore)
~~~~~~~~~~~ ^ ~~~~~~~~~~~~
program_source:993:35: warning: comparison of integers of different signs: 'int' and 'unsigned int'
for (int j = 0; j < tilesToStore; j++)
~ ^ ~~~~~~~~~~~~
FAIL - ERROR. Test failed.
Start 31: TestMetalAmoebaTorsionTorsionForceSingle
31/34 Test #31: TestMetalAmoebaTorsionTorsionForceSingle ........ Passed 0.45 sec
Start 32: TestMetalHippoNonbondedForceSingle
32/34 Test #32: TestMetalHippoNonbondedForceSingle ..............***Failed 2.66 sec
UNSUPPORTED (log once): buildComputeProgram: cl2Metal failed
Metal internal error: [CL_DEVICE_NOT_AVAILABLE] : OpenCL Error : Error: Build Program driver returned (10014)
Metal internal error: OpenCL Warning : clBuildProgram failed: could not build program for 0x1027f00 (Apple M2 Max) (err:-2)
Metal internal error: [CL_BUILD_ERROR] : OpenCL Build Error : Compiler build log:
program_source:575:26: warning: unsupported OpenCL extension 'cl_khr_byte_addressable_store' - ignoring
#pragma OPENCL EXTENSION cl_khr_byte_addressable_store : enable
^
program_source:773:45: error: call to 'vloada_half3' is ambiguous
real3 largeSize = real3(vloada_half3(largeBlockIndex, largeBlockBoundingBox));
^~~~~~~~~~~~
/System/Library/PrivateFrameworks/GPUCompiler.framework/Versions/31001/Libraries/lib/clang/31001.669/include/opencl-c.h:12475:15: note: candidate function
float3 __ovld vloada_half3(size_t offset, const __constant half *p);
^
/System/Library/PrivateFrameworks/GPUCompiler.framework/Versions/31001/Libraries/lib/clang/31001.669/include/opencl-c.h:12489:15: note: candidate function
float3 __ovld vloada_half3(size_t offset, const __global half *p);
^
/System/Library/PrivateFrameworks/GPUCompiler.framework/Versions/31001/Libraries/lib/clang/31001.669/include/opencl-c.h:12495:15: note: candidate function
float3 __ovld vloada_half3(size_t offset, const __local half *p);
^
/System/Library/PrivateFrameworks/GPUCompiler.framework/Versions/31001/Libraries/lib/clang/31001.669/include/opencl-c.h:12501:15: note: candidate function
float3 __ovld vloada_half3(size_t offset, const __private half *p);
^
program_source:721:57: warning: comparison of integers of different signs: 'int' and 'unsigned int'
for (int block1 = startBlockIndex+warpIndex; block1 < startBlockIndex+numBlocks; block1 += totalWarps) {
~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~
program_source:946:45: warning: comparison of integers of different signs: 'const int' and 'unsigned int'
if (indexInWarp < tilesToStore)
~~~~~~~~~~~ ^ ~~~~~~~~~~~~
program_source:962:38: warning: comparison of integers of different signs: 'int' and 'unsigned int'
for (; j < tilesToStore; j++)
~ ^ ~~~~~~~~~~~~
program_source:991:33: warning: comparison of integers of different signs: 'const int' and 'unsigned int'
if (indexInWarp < tilesToStore)
~~~~~~~~~~~ ^ ~~~~~~~~~~~~
program_source:993:35: warning: comparison of integers of different signs: 'int' and 'unsigned int'
for (int j = 0; j < tilesToStore; j++)
~ ^ ~~~~~~~~~~~~
exception: Error compiling kernel: program_source:575:26: warning: unsupported OpenCL extension 'cl_khr_byte_addressable_store' - ignoring
#pragma OPENCL EXTENSION cl_khr_byte_addressable_store : enable
^
program_source:773:45: error: call to 'vloada_half3' is ambiguous
real3 largeSize = real3(vloada_half3(largeBlockIndex, largeBlockBoundingBox));
^~~~~~~~~~~~
/System/Library/PrivateFrameworks/GPUCompiler.framework/Versions/31001/Libraries/lib/clang/31001.669/include/opencl-c.h:12475:15: note: candidate function
float3 __ovld vloada_half3(size_t offset, const __constant half *p);
^
/System/Library/PrivateFrameworks/GPUCompiler.framework/Versions/31001/Libraries/lib/clang/31001.669/include/opencl-c.h:12489:15: note: candidate function
float3 __ovld vloada_half3(size_t offset, const __global half *p);
^
/System/Library/PrivateFrameworks/GPUCompiler.framework/Versions/31001/Libraries/lib/clang/31001.669/include/opencl-c.h:12495:15: note: candidate function
float3 __ovld vloada_half3(size_t offset, const __local half *p);
^
/System/Library/PrivateFrameworks/GPUCompiler.framework/Versions/31001/Libraries/lib/clang/31001.669/include/opencl-c.h:12501:15: note: candidate function
float3 __ovld vloada_half3(size_t offset, const __private half *p);
^
program_source:721:57: warning: comparison of integers of different signs: 'int' and 'unsigned int'
for (int block1 = startBlockIndex+warpIndex; block1 < startBlockIndex+numBlocks; block1 += totalWarps) {
~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~
program_source:946:45: warning: comparison of integers of different signs: 'const int' and 'unsigned int'
if (indexInWarp < tilesToStore)
~~~~~~~~~~~ ^ ~~~~~~~~~~~~
program_source:962:38: warning: comparison of integers of different signs: 'int' and 'unsigned int'
for (; j < tilesToStore; j++)
~ ^ ~~~~~~~~~~~~
program_source:991:33: warning: comparison of integers of different signs: 'const int' and 'unsigned int'
if (indexInWarp < tilesToStore)
~~~~~~~~~~~ ^ ~~~~~~~~~~~~
program_source:993:35: warning: comparison of integers of different signs: 'int' and 'unsigned int'
for (int j = 0; j < tilesToStore; j++)
~ ^ ~~~~~~~~~~~~
Start 33: TestMetalWcaDispersionForceSingle
33/34 Test #33: TestMetalWcaDispersionForceSingle ............... Passed 0.32 sec
Start 34: TestMetalDrudeForceSingle
34/34 Test #34: TestMetalDrudeForceSingle ....................... Passed 0.84 sec
79% tests passed, 7 tests failed out of 34
Total Test time (real) = 41.69 sec
The following tests FAILED:
3 - TestMetalCheckpointsSingle (Failed)
11 - TestMetalCustomGBForceSingle (Failed)
16 - TestMetalGBSAOBCForceSingle (Failed)
27 - TestMetalVariableVerletIntegratorSingle (Failed)
28 - TestMetalAmoebaExtrapolatedPolarizationSingle (Failed)
30 - TestMetalAmoebaMultipoleForceSingle (Failed)
32 - TestMetalHippoNonbondedForceSingle (Failed)
Errors while running CTest