Jump to content

Hi all,

Just a question here for Linus's video at 3:50 he explains that open GL is for CPU's too? Does that mean that there are CPU's that have DX12 API? I really thought that only GPU's have an API. And just correct me if i'm wrong, is a API the part of the GPU that moves all the data and packets? The more efficient and faster the API the faster the GPU? Is that right? Thanks in advanced! 

 

I'm part of the "Help a noob foundation" 

Link to comment
https://linustechtips.com/topic/665528-cpus-have-apis/
Share on other sites

Link to post
Share on other sites

CPUs and GPUs don't have APIs but you can utilize them with some APIs. IDK exactly what you mean, do you mean if there's an instruction limitation or something like in GPUs for different DX versions? Probably, but you'd have to get a really old CPU, or maybe not... other than GPU the only depending factor I can think for different DX versions is OS

This is a signature.

Link to comment
https://linustechtips.com/topic/665528-cpus-have-apis/#findComment-8593996
Share on other sites

Link to post
Share on other sites

If you fire up CPU-z it'll tell you which instruction sets are supported by your CPU. Most common ones are SSE4.x and such. And there was actually a problem at the lunch of No Mans Sky which made it impossible to play the game if your CPU did not support SSE4.2 if I remember that right : D

 

I hope that is what you were asking for.

Link to comment
https://linustechtips.com/topic/665528-cpus-have-apis/#findComment-8594036
Share on other sites

Link to post
Share on other sites

An API like DX12 is all about letting the software made on it talk with all hardware more efficiently. Not only GPU's.

You must have heard about AOTS' CPU benchmarks too, which performs quite a bit better on CPU's that have more than 4 cores.

"We're all in this together, might as well be friends" Tom, Toonami.

 

mini eLiXiVy: my open source 65% mechanical PCB, a build log, PCB anatomy and discussing open source licenses: https://linustechtips.com/topic/1366493-elixivy-a-65-mechanical-keyboard-build-log-pcb-anatomy-and-how-i-open-sourced-this-project/

 

mini_cardboard: a 4% keyboard build log and how keyboards workhttps://linustechtips.com/topic/1328547-mini_cardboard-a-4-keyboard-build-log-and-how-keyboards-work/

Link to comment
https://linustechtips.com/topic/665528-cpus-have-apis/#findComment-8594040
Share on other sites

Link to post
Share on other sites

32 minutes ago, Carlos1010 said:

-snip-

Everything has an API. Your brain has an API that allows it to interact with its hardware.

 

Jokes aside. The API is in the programs, not the CPU/GPU. The API is what programmers use to interact with the system on a deeper level.

 

https://en.wikipedia.org/wiki/Application_programming_interface

Cor Caeruleus Reborn v6

Spoiler

CPU: Intel - Core i7-8700K

CPU Cooler: be quiet! - PURE ROCK 
Thermal Compound: Arctic Silver - 5 High-Density Polysynthetic Silver 3.5g Thermal Paste 
Motherboard: ASRock Z370 Extreme4
Memory: G.Skill TridentZ RGB 2x8GB 3200/14
Storage: Samsung - 850 EVO-Series 500GB 2.5" Solid State Drive 
Storage: Samsung - 960 EVO 500GB M.2-2280 Solid State Drive
Storage: Western Digital - Blue 2TB 3.5" 5400RPM Internal Hard Drive
Storage: Western Digital - BLACK SERIES 3TB 3.5" 7200RPM Internal Hard Drive
Video Card: EVGA - 970 SSC ACX (1080 is in RMA)
Case: Fractal Design - Define R5 w/Window (Black) ATX Mid Tower Case
Power Supply: EVGA - SuperNOVA P2 750W with CableMod blue/black Pro Series
Optical Drive: LG - WH16NS40 Blu-Ray/DVD/CD Writer 
Operating System: Microsoft - Windows 10 Pro OEM 64-bit and Linux Mint Serena
Keyboard: Logitech - G910 Orion Spectrum RGB Wired Gaming Keyboard
Mouse: Logitech - G502 Wired Optical Mouse
Headphones: Logitech - G430 7.1 Channel  Headset
Speakers: Logitech - Z506 155W 5.1ch Speakers

 

Link to comment
https://linustechtips.com/topic/665528-cpus-have-apis/#findComment-8594134
Share on other sites

Link to post
Share on other sites

A more proper way of referring to the "API" on a CPU is its "ISA" or "Instruction Set Architecture".  Basically its a set of commands or instructions which are provided by the CPU/GPU for doing manipulations on data. 

 

In recent history, there have been two major philosophies for CPU's.  "RISC" and "CISC". 

 

"RISC" is when a CPU only provides very basic instructions, but performs them wickedly fast.  Higher level computations thus are created through a permutation of simple instructions.

 

"CISC" is when a CPU provides very complex instructions, but requires a lot of specialized circuitry to perform those instructions.  This approach tends to limit the clock speed that can be used by such a CPU.

 

x86 traditionally has been known as a "CISC" architecture, while platforms like the Digital Alpha (AXP) have been known as "RISC".  However, one of the major successes of Intel over the past number of years has been their ability to create a hybrid of a CISC and RISC core.  Essentially leveraging the advantages and speed of the RISC philosophy, with the highly complex x86 "CISC" instruction set.   In light of Intel's optimization and overall approach, the whole "CISC vs RISC" debate has largely been put to rest, with the 'answer' to optimal performance being somewhere inbetween the two philosophical extremes.

 

 

Link to comment
https://linustechtips.com/topic/665528-cpus-have-apis/#findComment-8596898
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×