How to configure imagick to work with gpu support?












0















Im usinf the following configuration on amazon AWS p3.2xlarge with 3D controller: NVIDIA Corporation GV100GL [Tesla V100 SXM2] (rev a1)



Centos 7
PHP7.2



Im trying to force Imagick to work with gpu memory instead of CPU



I have found the following article but im not sure how to implement it



https://www.imagemagick.org/script/opencl.php



can anyone assist ?



convert -version output



Version: ImageMagick 7.0.8-14 Q16 x86_64 2018-10-25 https://imagemagick.org
Copyright: © 1999-2018 ImageMagick Studio LLC
License: https://imagemagick.org/script/license.php
Features: Cipher DPC HDRI Modules OpenMP
Delegates (built-in): bzlib cairo djvu fftw fontconfig freetype gslib gvc jbig jng jp2 jpeg lcms ltdl lzma openexr pangocairo png ps raw rsvg tiff webp wmf x xml zlib









share|improve this question

























  • You have to make sure that ImageMagick was compiled with OpenCL and you need to have compatible graphics hardware. Use convert -version and see if it lists OpenCL in the Features line.

    – fmw42
    Nov 23 '18 at 18:23











  • I have added the output to the question.. how can i add OpenCL support ?

    – lior r
    Nov 25 '18 at 4:29











  • Your compile of ImageMagick 7.0.8.14 does not include OpenCL. You will have to recompile with OpenCL enabled. See imagemagick.org/script/architecture.php#distributed

    – fmw42
    Nov 25 '18 at 6:15













  • Usually OpenCL installs automatically if your hardware is compatible.

    – fmw42
    Nov 25 '18 at 6:22













  • Im using aws.amazon.com/ec2/instance-types/p3 so it has GPU installed

    – lior r
    Nov 25 '18 at 7:39
















0















Im usinf the following configuration on amazon AWS p3.2xlarge with 3D controller: NVIDIA Corporation GV100GL [Tesla V100 SXM2] (rev a1)



Centos 7
PHP7.2



Im trying to force Imagick to work with gpu memory instead of CPU



I have found the following article but im not sure how to implement it



https://www.imagemagick.org/script/opencl.php



can anyone assist ?



convert -version output



Version: ImageMagick 7.0.8-14 Q16 x86_64 2018-10-25 https://imagemagick.org
Copyright: © 1999-2018 ImageMagick Studio LLC
License: https://imagemagick.org/script/license.php
Features: Cipher DPC HDRI Modules OpenMP
Delegates (built-in): bzlib cairo djvu fftw fontconfig freetype gslib gvc jbig jng jp2 jpeg lcms ltdl lzma openexr pangocairo png ps raw rsvg tiff webp wmf x xml zlib









share|improve this question

























  • You have to make sure that ImageMagick was compiled with OpenCL and you need to have compatible graphics hardware. Use convert -version and see if it lists OpenCL in the Features line.

    – fmw42
    Nov 23 '18 at 18:23











  • I have added the output to the question.. how can i add OpenCL support ?

    – lior r
    Nov 25 '18 at 4:29











  • Your compile of ImageMagick 7.0.8.14 does not include OpenCL. You will have to recompile with OpenCL enabled. See imagemagick.org/script/architecture.php#distributed

    – fmw42
    Nov 25 '18 at 6:15













  • Usually OpenCL installs automatically if your hardware is compatible.

    – fmw42
    Nov 25 '18 at 6:22













  • Im using aws.amazon.com/ec2/instance-types/p3 so it has GPU installed

    – lior r
    Nov 25 '18 at 7:39














0












0








0








Im usinf the following configuration on amazon AWS p3.2xlarge with 3D controller: NVIDIA Corporation GV100GL [Tesla V100 SXM2] (rev a1)



Centos 7
PHP7.2



Im trying to force Imagick to work with gpu memory instead of CPU



I have found the following article but im not sure how to implement it



https://www.imagemagick.org/script/opencl.php



can anyone assist ?



convert -version output



Version: ImageMagick 7.0.8-14 Q16 x86_64 2018-10-25 https://imagemagick.org
Copyright: © 1999-2018 ImageMagick Studio LLC
License: https://imagemagick.org/script/license.php
Features: Cipher DPC HDRI Modules OpenMP
Delegates (built-in): bzlib cairo djvu fftw fontconfig freetype gslib gvc jbig jng jp2 jpeg lcms ltdl lzma openexr pangocairo png ps raw rsvg tiff webp wmf x xml zlib









share|improve this question
















Im usinf the following configuration on amazon AWS p3.2xlarge with 3D controller: NVIDIA Corporation GV100GL [Tesla V100 SXM2] (rev a1)



Centos 7
PHP7.2



Im trying to force Imagick to work with gpu memory instead of CPU



I have found the following article but im not sure how to implement it



https://www.imagemagick.org/script/opencl.php



can anyone assist ?



convert -version output



Version: ImageMagick 7.0.8-14 Q16 x86_64 2018-10-25 https://imagemagick.org
Copyright: © 1999-2018 ImageMagick Studio LLC
License: https://imagemagick.org/script/license.php
Features: Cipher DPC HDRI Modules OpenMP
Delegates (built-in): bzlib cairo djvu fftw fontconfig freetype gslib gvc jbig jng jp2 jpeg lcms ltdl lzma openexr pangocairo png ps raw rsvg tiff webp wmf x xml zlib






imagemagick gpu imagick






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 25 '18 at 4:29







lior r

















asked Nov 23 '18 at 9:50









lior rlior r

95352467




95352467













  • You have to make sure that ImageMagick was compiled with OpenCL and you need to have compatible graphics hardware. Use convert -version and see if it lists OpenCL in the Features line.

    – fmw42
    Nov 23 '18 at 18:23











  • I have added the output to the question.. how can i add OpenCL support ?

    – lior r
    Nov 25 '18 at 4:29











  • Your compile of ImageMagick 7.0.8.14 does not include OpenCL. You will have to recompile with OpenCL enabled. See imagemagick.org/script/architecture.php#distributed

    – fmw42
    Nov 25 '18 at 6:15













  • Usually OpenCL installs automatically if your hardware is compatible.

    – fmw42
    Nov 25 '18 at 6:22













  • Im using aws.amazon.com/ec2/instance-types/p3 so it has GPU installed

    – lior r
    Nov 25 '18 at 7:39



















  • You have to make sure that ImageMagick was compiled with OpenCL and you need to have compatible graphics hardware. Use convert -version and see if it lists OpenCL in the Features line.

    – fmw42
    Nov 23 '18 at 18:23











  • I have added the output to the question.. how can i add OpenCL support ?

    – lior r
    Nov 25 '18 at 4:29











  • Your compile of ImageMagick 7.0.8.14 does not include OpenCL. You will have to recompile with OpenCL enabled. See imagemagick.org/script/architecture.php#distributed

    – fmw42
    Nov 25 '18 at 6:15













  • Usually OpenCL installs automatically if your hardware is compatible.

    – fmw42
    Nov 25 '18 at 6:22













  • Im using aws.amazon.com/ec2/instance-types/p3 so it has GPU installed

    – lior r
    Nov 25 '18 at 7:39

















You have to make sure that ImageMagick was compiled with OpenCL and you need to have compatible graphics hardware. Use convert -version and see if it lists OpenCL in the Features line.

– fmw42
Nov 23 '18 at 18:23





You have to make sure that ImageMagick was compiled with OpenCL and you need to have compatible graphics hardware. Use convert -version and see if it lists OpenCL in the Features line.

– fmw42
Nov 23 '18 at 18:23













I have added the output to the question.. how can i add OpenCL support ?

– lior r
Nov 25 '18 at 4:29





I have added the output to the question.. how can i add OpenCL support ?

– lior r
Nov 25 '18 at 4:29













Your compile of ImageMagick 7.0.8.14 does not include OpenCL. You will have to recompile with OpenCL enabled. See imagemagick.org/script/architecture.php#distributed

– fmw42
Nov 25 '18 at 6:15







Your compile of ImageMagick 7.0.8.14 does not include OpenCL. You will have to recompile with OpenCL enabled. See imagemagick.org/script/architecture.php#distributed

– fmw42
Nov 25 '18 at 6:15















Usually OpenCL installs automatically if your hardware is compatible.

– fmw42
Nov 25 '18 at 6:22







Usually OpenCL installs automatically if your hardware is compatible.

– fmw42
Nov 25 '18 at 6:22















Im using aws.amazon.com/ec2/instance-types/p3 so it has GPU installed

– lior r
Nov 25 '18 at 7:39





Im using aws.amazon.com/ec2/instance-types/p3 so it has GPU installed

– lior r
Nov 25 '18 at 7:39












0






active

oldest

votes












Your Answer






StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53444229%2fhow-to-configure-imagick-to-work-with-gpu-support%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53444229%2fhow-to-configure-imagick-to-work-with-gpu-support%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Paul Cézanne

UIScrollView CustomStickyHeader Resize height generates problems when scroll is too fast

Angular material date-picker (MatDatepicker) auto completes the date on focus out