{"action":"created","issue":{"url":"https://api.github.com/repos/ClearControl/clearcl/issues/13","repository_url":"https://api.github.com/repos/ClearControl/clearcl","labels_url":"https://api.github.com/repos/ClearControl/clearcl/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/ClearControl/clearcl/issues/13/comments","events_url":"https://api.github.com/repos/ClearControl/clearcl/issues/13/events","html_url":"https://github.com/ClearControl/clearcl/issues/13","id":298098678,"node_id":"MDU6SXNzdWUyOTgwOTg2Nzg=","number":13,"title":"Issues on CPUs caused by differentiation between CPUs and GPUs","user":{"login":"haesleinhuepf","id":12660498,"node_id":"MDQ6VXNlcjEyNjYwNDk4","avatar_url":"https://avatars1.githubusercontent.com/u/12660498?v=4","gravatar_id":"","url":"https://api.github.com/users/haesleinhuepf","html_url":"https://github.com/haesleinhuepf","followers_url":"https://api.github.com/users/haesleinhuepf/followers","following_url":"https://api.github.com/users/haesleinhuepf/following{/other_user}","gists_url":"https://api.github.com/users/haesleinhuepf/gists{/gist_id}","starred_url":"https://api.github.com/users/haesleinhuepf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haesleinhuepf/subscriptions","organizations_url":"https://api.github.com/users/haesleinhuepf/orgs","repos_url":"https://api.github.com/users/haesleinhuepf/repos","events_url":"https://api.github.com/users/haesleinhuepf/events{/privacy}","received_events_url":"https://api.github.com/users/haesleinhuepf/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-02-18T16:44:09Z","updated_at":"2018-07-17T21:22:16Z","closed_at":null,"author_association":"MEMBER","body":"Hey guys,\r\n\r\nI recently had issues with failing createImage() calls because of these lines:\r\n\r\nhttps://github.com/ClearVolume/ClearCL/blob/master/src/java/clearcl/ClearCLContext.java#L321-L323\r\n\r\nApparently, imageChannelOrder must always be ImageChannelOrder.R . Is there an example where the opposite fails? Why do we have a differentiation here in any case?\r\n\r\nIf there is no reason for having this differentiation, I would replace these three lines with \"ImageChannelOrder.R\"...\r\n\r\nCheers,\r\nRobert  "},"comment":{"url":"https://api.github.com/repos/ClearControl/clearcl/issues/comments/405732352","html_url":"https://github.com/ClearControl/clearcl/issues/13#issuecomment-405732352","issue_url":"https://api.github.com/repos/ClearControl/clearcl/issues/13","id":405732352,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNTczMjM1Mg==","user":{"login":"haesleinhuepf","id":12660498,"node_id":"MDQ6VXNlcjEyNjYwNDk4","avatar_url":"https://avatars1.githubusercontent.com/u/12660498?v=4","gravatar_id":"","url":"https://api.github.com/users/haesleinhuepf","html_url":"https://github.com/haesleinhuepf","followers_url":"https://api.github.com/users/haesleinhuepf/followers","following_url":"https://api.github.com/users/haesleinhuepf/following{/other_user}","gists_url":"https://api.github.com/users/haesleinhuepf/gists{/gist_id}","starred_url":"https://api.github.com/users/haesleinhuepf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haesleinhuepf/subscriptions","organizations_url":"https://api.github.com/users/haesleinhuepf/orgs","repos_url":"https://api.github.com/users/haesleinhuepf/repos","events_url":"https://api.github.com/users/haesleinhuepf/events{/privacy}","received_events_url":"https://api.github.com/users/haesleinhuepf/received_events","type":"User","site_admin":false},"created_at":"2018-07-17T21:22:15Z","updated_at":"2018-07-17T21:22:15Z","author_association":"MEMBER","body":"Ha! I need to reopen it! E.g. I get an error here:\r\nhttps://github.com/ClearControl/clearcl/blob/master/src/test/java/clearcl/io/test/ClearCLIOTests.java#L54\r\n\r\nclearcl.exceptions.OpenCLException: OpenCL error: -10 -> CL_IMAGE_FORMAT_NOT_SUPPORTED\r\n\r\n\tat clearcl.backend.BackendUtils.checkOpenCLErrorCode(BackendUtils.java:352)\r\n\tat clearcl.backend.jocl.ClearCLBackendJOCL.getImagePeerPointer(ClearCLBackendJOCL.java:457)\r\n\tat clearcl.ClearCLContext.createImage(ClearCLContext.java:453)\r\n\tat clearcl.ClearCLContext.createImage(ClearCLContext.java:413)\r\n\tat clearcl.io.test.ClearCLIOTests.testTiffWriter(ClearCLIOTests.java:54)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:498)\r\n\tat org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)\r\n\tat org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)\r\n\tat org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)\r\n\tat org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)\r\n\tat org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)\r\n\tat org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)\r\n\tat org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)\r\n\tat org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)\r\n\tat org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)\r\n\tat org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)\r\n\tat org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)\r\n\tat org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)\r\n\tat org.junit.runners.ParentRunner.run(ParentRunner.java:363)\r\n\tat org.junit.runners.Suite.runChild(Suite.java:128)\r\n\tat org.junit.runners.Suite.runChild(Suite.java:27)\r\n\tat org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)\r\n\tat org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)\r\n\tat org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)\r\n\tat org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)\r\n\tat org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)\r\n\tat org.junit.runners.ParentRunner.run(ParentRunner.java:363)\r\n\tat org.junit.runner.JUnitCore.run(JUnitCore.java:137)\r\n\tat com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)\r\n\tat com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47)\r\n\tat com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242)\r\n\tat com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)\r\n\r\nIf I replace ImageChannelOrder.Intensity with ImageChannelOrder.R it passes that line. I guess that has something to do with my platform: I'm working on Intel i7-8650U / Windows x64. I believe there are some driver/OpenCL-version issues with the built in HD card:\r\nDevice name: Intel(R) UHD Graphics 620, type: GPU, OpenCL version: 2.00000 \r\n max global memory: 6795783373 \r\n max local memory: 65536 \r\n clock freq: 1150Mhz \r\n nb compute units: 24 \r\n extensions: cl_intel_accelerator cl_intel_advanced_motion_estimation cl_intel_d3d11_nv12_media_sharing cl_intel_device_side_avc_motion_estimation cl_intel_driver_diagnostics cl_intel_dx9_media_sharing cl_intel_media_block_io cl_intel_motion_estimation cl_intel_planar_yuv cl_intel_packed_yuv cl_intel_required_subgroup_size cl_intel_simultaneous_sharing cl_intel_subgroups cl_intel_subgroups_short cl_khr_3d_image_writes cl_khr_byte_addressable_store cl_khr_d3d10_sharing cl_khr_d3d11_sharing cl_khr_depth_images cl_khr_dx9_media_sharing cl_khr_fp16 cl_khr_fp64 cl_khr_gl_depth_images cl_khr_gl_event cl_khr_gl_msaa_sharing cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_gl_sharing cl_khr_icd cl_khr_image2d_from_buffer cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_mipmap_image cl_khr_mipmap_image_writes cl_khr_spir cl_khr_subgroups cl_khr_throttle_hints   \r\n\r\n"}}
{"actor":{"display_login":"haesleinhuepf"}}