3 ms·
> ideally I'd like to be able to learn on my "Intel Integrated Graphics" laptop NO. Rent a cloud server or buy an old computer with a discrete GPU. Don't eve
by jjoonathan 7y ago
> ideally I'd like to be able to learn on my "Intel Integrated Graphics" laptop
NO.
Rent a cloud server or buy an old computer with a discrete GPU. Don't even try winging it. This is not x86 land where everything works everywhere. Not even close. NVIDIA/CUDA is what everyone does, AMD/OpenCL is like shooting yourself in the foot, and Intel Integrated / OpenCL is like shooting yourself in the head.
Yes, really. Last time I encountered Intel Integrated, I spent an entire weekend trying to port a relatively trivial shader. It would compile and run, but the output was always very wrong. Needless to say, the tooling was no help, and remember this is GPU land where you don't have printf, but I eventually discovered the problem: 8 bit floats. Yes, 8 bit floats are a thing in Intel Integrated land. No, it didn't give me any warning it was using them. "You asked for a float, you got a float, what's the problem?" I imagine an intel engineer saying. Because I'm a stubborn SOB I didn't learn my lesson there and I soldiered on -- next bug was a silent pageout issue.
Does this sound like fun? If so, go for it. If not, buy a discrete GPU. AMD might be OK these days, they've been working on their problems, but once bitten twice shy, so my recommendation is to buy something with an NVIDIA GPU and consider the green tax an investment in your mental health.
- skohan 7y ago> Yes, really. Last time I encountered Intel Integrated, I spent an entire weekend trying to port a relatively trivial shader. What are you talking about? What API were you using? I use Vulkan to target multiple GPU architectures and I have never had a problem with compatibility or shader behavior, even with very complex multi-pipeline processes. In general, if your code doesn't throw validation warnings, it will do what you expect on any hardware.
- jjoonathan 7y agoGLSL. Maybe Intel Integrated works better with Vulkan, but 8 bit floats were a hardware choice. The only way to "support" them would be to throw warnings/errors or kick back to software emulation.
- jfkebwjsbx 7y agoIn my experience, Intel drivers are quite good, specially in Linux.